home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / pmp42d.zip / PMPATROL.HLP (.txt) < prev    next >
OS/2 Help File  |  1996-06-17  |  155KB  |  5,644 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. License Information ΓòÉΓòÉΓòÉ
  3.  
  4.                                   PM Patrol(tm)
  5.  
  6. (c) Copyright 1993-96, WallyWare, All rights reserved.
  7.  
  8. Unregistered copies of PM Patrol are freely distributable and copying is 
  9. encouraged. If you like it, tell a friend. If not, tell us. 
  10.  
  11. PM Patrol is supplied "as is" without any warranties either expressed or 
  12. implied. 
  13.  
  14. IN NO EVENT WILL WALLYWARE BE LIABLE TO YOU FOR ANY INCIDENTAL, SPECIAL, 
  15. PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM OR CONNECTED WITH 
  16. THIS AGREEMENT OR USE OF THIS PRODUCT, REGARDLESS WHETHER WE KNOW OR HAVE 
  17. REASON TO KNOW OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES MAY NOT ALLOW 
  18. EXCLUSION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES AND SO THE FOREGOING EXCLUSION 
  19. MAY NOT APPLY TO YOU. 
  20.  
  21. The version of PM Patrol is distributed under a Software License Agreement 
  22. which is included with this version of PM Patrol and available for preview 
  23. without registration required. 
  24.  
  25. If you have any questions about your rights or responsibilities concerning the 
  26. use of this product please contact: 
  27.  
  28. WallyWare
  29. 2210 Kingston Drive
  30. Wheaton, Illinois  60187  USA
  31.  
  32. Internet E-Mail:  wally@interaccess.com
  33. Internet WWW:    http://homepage.interaccess.com/~wally
  34. Phone:       708-510-7412 (630-510-7412 after 7/96)
  35. Fax:        708-690-8893 (630-690-8893 after 7/96)
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
  39.  
  40.                                   PM Patrol(tm)
  41.  
  42. PM Patrol is robust, yet easy to use resource monitoring and management 
  43. software for OS/2 version 2.1+ and all versions of OS/2 Warp. 
  44.  
  45. Allow me to introduce PM Patrol and describe some quick-hits to help you get 
  46. going.  This introduction is brief, but important. 
  47.  
  48. You can ALWAYS get the latest version of PM Patrol from our WallyWare Internet 
  49. Web site at http://homepage.interaccess.com/~wally and send Internet e-mail to 
  50. wally@interaccess.com. 
  51.  
  52. To identify the current version, the licensed name, and serial number for this 
  53. copy of PM Patrol, refer to "Product Information" accessable from several PM 
  54. Patrol menus. The serial number is necessary when seeking technical support 
  55. from WallyWare. 
  56.  
  57. PM Patrol is designed to run all the time, from bootup to shutdown. Always 
  58. visible and accessible, PM Patrol offers quick access to many different 
  59. monitors and related utilities; Helping You Manage the Power of OS/2 
  60.  
  61. PM Patrol allows you to monitor and track several different resources of your 
  62. OS/2 system. These resources are presented to you in a very unintrusive and 
  63. meaningful display providing you insight into current system activities. 
  64.  
  65. The appearance of PM Patrol has maintained the attitude that this tool should 
  66. be visible, yet not use valuable desktop space. In order to accomplish this, PM 
  67. Patrol provides a Status Line at the bottom of your screen which displays the 
  68. monitors you have selected. In most cases, not all monitors can fit on the 
  69. Status Line - as expected. But, you can change the font of the Status Line so 
  70. that more information can fit in. Also, some of PM Patrol's other monitor 
  71. windows, besides the Status Line, concentrate on categories of resources in 
  72. OS/2 (ie. Memory). Therefore, you don't necessarily want or need everything on 
  73. the Status Line. Only those items you want to see all the time. 
  74.  
  75. PM Patrol has a broad appeal. The information PM Patrol provides is valuable to 
  76. a number of audiences including novices, heavy users, and software engineers 
  77. and developers. Some PM Patrol monitors and utility items are geared more 
  78. toward software developers, but the majority of PM Patrol is valuable to 
  79. anyone. 
  80.  
  81. PM Patrol is feature rich. For a complete description of PM Patrol features and 
  82. details, refer to Features and Product Information sections of this on-line 
  83. help. To see how PM Patrol compares to other OS/2 resource monitor software, 
  84. refer to the online help section "Comparative Matrix" also under Product 
  85. Information. 
  86.  
  87. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  88. utilities complement the PM Patrol personality and are described in detail in 
  89. the "Command Line Utilities" section of this on-line help. 
  90.  
  91. The on-line help describes all facets of PM Patrol. Whenever you are in the PM 
  92. Patrol on-line help, you can always view the Table of Contents by selecting 
  93. "Contents" under the "Options" menu item. 
  94.  
  95. The on-line help contains a section called "Trouble Shooting". If you ever 
  96. experience difficulties or potential problems with PM Patrol, refer to this 
  97. section of on-line help. It discusses topics of potential difficulty, 
  98. compatibility, and idiosyncrasies of PM Patrol features. Everyone should read 
  99. this section. 
  100.  
  101. Another on-line help section called "Support", provides basic support 
  102. information for PM Patrol. 
  103.  
  104. To help you get going with PM Patrol right now, the following itemizes 
  105. quick-hit topics: 
  106.  
  107.    1. PM Patrol provides 2 quick ways of getting around. Place the mouse 
  108.       pointer on the PM Patrol Status Line. If the Status Line is located at 
  109.       the bottom of the desktop screen, the mouse pointer changes to let you 
  110.       know your're "talking" to PM Patrol. Otherwise, the mouse pointer remains 
  111.       the same. The left mouse button acts different than the right. 
  112.  
  113.    2. From the PM Patrol Status Line, double clicking the left mouse button 
  114.       invokes the PM Patrol "Options" dialog. This dialog allows you to select 
  115.       and/or change PM Patrol Status Line monitors, configuration settings, 
  116.       color and font settings, various OS/2 system settings, and provides an 
  117.       alternative method for accessing PM Patrol "Utility" items. 
  118.  
  119.    3. From the PM Patrol Status Line, single clicking the right mouse button 
  120.       invokes the PM Patrol "Utility" popup menu. After you configure PM Patrol 
  121.       to your personal preferences, this "Utility" popup menu will typically 
  122.       become the primary access method to PM Patrol features. 
  123.  
  124.    4. The PM Patrol icon in the "Utility" popup menu invokes the Table of 
  125.       Contents for PM Patrol help. 
  126.  
  127.    5. When invoked, the "Utility" popup menu is intelligent based on the 
  128.       location of the mouse pointer within the PM Patrol Status Line: 
  129.  
  130.         a. If the mouse pointer is within 1 inch of the LEFT side of the Status 
  131.            Line (leftmost 1 inch on VGA), the Utility popup menu will 
  132.            automatically display the PM Patrol Program List for quick access to 
  133.            your favorite programs. 
  134.  
  135.         b. Similarly, if the mouse pointer is within 1 inch of the RIGHT side 
  136.            of the Status Line, the Utility popup menu will automatically 
  137.            display the PM Patrol Desktop List for quick access to commonly used 
  138.            OS/2 WorkPlace Shell folders. 
  139.  
  140.         c. Otherwise, the Utility popup menu is displayed with the default menu 
  141.            item being PM Patrol Process Monitor option. 
  142.  
  143.  From all of us at WallyWare, Thank you for choosing PM Patrol and enjoy... 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ 3. Hardware/Software Requirements ΓòÉΓòÉΓòÉ
  147.  
  148. PM Patrol carries the following requirements, some of which are options to PM 
  149. Patrol: 
  150.  
  151.    1. PM Patrol requires IBM OS/2 version 2.1 or higher. 
  152.  
  153.    2. Multmedia features requires IBM MMPM/2 for OS/2 be installed. 
  154.  
  155.    3. Network monitoring features requires IBM LAN Requester be installed on 
  156.       the local workstation. NetWare for OS/2 is not currently supported. 
  157.  
  158.    4. Internet Connect-Time feature requires modem connection using the PPP or 
  159.       SLIP protocols of IBM's Internet Access Kit, or the In-Joy dialer 
  160.       available at http://www.belle.dk/~bj/dialer.html. 
  161.  
  162.    5. PM Patrol's Free Memory algorithm requires a 32-bit disk controller for 
  163.       memory configurations with more than 16 MB. Strict ISA bus architectures 
  164.       found on most 386 class computers are most likely equipped with 16-bit 
  165.       disk controllers. 
  166.  
  167.  
  168. ΓòÉΓòÉΓòÉ 4. Installation ΓòÉΓòÉΓòÉ
  169.  
  170. To install PM Patrol, run the INSTALL.EXE program from the distribution 
  171. diskette. 
  172.  
  173. The PM Patrol installation prompts you for a number of items and will install 
  174. all necessary files into a subdirectory of your choice for the PM Patrol 
  175. program files. 
  176.  
  177. The installation program also asks you if you want to create the OS/2 Desktop 
  178. objects and "shadow" copy  of PM Patrol in your OS/2 "Startup Folder". Refer to 
  179. the OS/2 WorkPlace Shell user guide for any additional help regarding the 
  180. Startup Folder. 
  181.  
  182. If you are using the real-time Data Collection Facility APIs, append the 
  183. installation path used for PM Patrol to the following statements in your 
  184. CONFIG.SYS file: 
  185.  
  186.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  187.  
  188.    2. "LIB" statement for the API import library (PMPAPI.LIB). 
  189.  
  190.    3. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  191.  
  192.  If you are using the real-time Debug Facility, append the installation path 
  193.  used for PM Patrol to the following statements in your CONFIG.SYS file: 
  194.  
  195.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  196.  
  197.    2. "LIB" statement for the API import library (DBUGAPI.LIB). 
  198.  
  199.    3. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  200.  
  201.  After PM Patrol is installed and the first time you run it, the "Product 
  202.  Information" dialog appears along with the "Product Activation" dialog. This 
  203.  is your opportunity to enter your Name and the Serial number for your copy of 
  204.  PM Patrol. 
  205.  
  206.  It is VERY important that you enter the Serial number correctly. If you make a 
  207.  mistake, select "Register" from the "Product Information" dialog and try 
  208.  again. Once entered, this information is saved. 
  209.  
  210.  Note:  If you want to move PM Patrol to another machine, repeat the 
  211.  installation process along with entering your Name and Serial number again. 
  212.  
  213.  PM Patrol contains a few STARTUP command line options: 
  214.  
  215.    1. "-Q" is used to omit the PM Patrol logo window at startup. When 
  216.       specified, the little PM Patrol logo window at startup will NOT be 
  217.       displayed. 
  218.  
  219.    2. "-H" is used to start PM Patrol in a HIDDEN state. This is advantageous 
  220.       for some users - particularly when the user is only interested in the DCF 
  221.       component. Use the OS/2 Window List to "unhide" the window. This also 
  222.       lends itself to workstations which are used exclusively for real-time 
  223.       operations and/or data acquisition and wish to use the Logger component 
  224.       of PM Patrol. When enabled, any selected Auto-Start monitor windows in PM 
  225.       Patrol (ie. Memory, Process, Network, etc.) will not be started - with 
  226.       the exception of auto-starting the Debug or Logging facilities. These two 
  227.       items, if selected to auto-start, will be started as usual. 
  228.  
  229.    3. "-S" is used to start PM Patrol in SECURED state. When enabled, PM Patrol 
  230.       does not appear in the OS/2 Window List and is not able to be "killed". 
  231.       The user MUST close PM Patrol via the normal PM Patrol mechanism. 
  232.       "Secured" mode is provided primarily to complement the PM Patrol password 
  233.       security offered. 
  234.  
  235.    4. "-W" is used to keep PM Patrol windows from appearing in the OS/2 Window 
  236.       List. This is an alternative option to "-S" but acts only on Window List 
  237.       access. 
  238.  
  239.    5. "-C" can be used to put PM Patrol in a "time critical" priority class for 
  240.       a high level of responsiveness. By default, the main PM Patrol thread 
  241.       operates in a "foreground" priority class and is adequate for most 
  242.       systems. Where PM Patrol and it's DCF readings require absolute timing, 
  243.       this option can be used. Typically, this option lends itself to 
  244.       workstations used for real-time purposes or benchmarking applications 
  245.       which are CPU intensive. Using this startup option may be too aggressive 
  246.       for low-end systems (i386 or most SX CPUs). Furthermore, where seamless 
  247.       DOS+Windows programs are used often, this startup option should be 
  248.       avoided due to the nature of performance issues associated with VDMs 
  249.       (Virtual DOS Machines) under OS/2. 
  250.  
  251.    6. "-N" is used when you wish to disable the PM Patrol Network Monitoring 
  252.       facility. By default, this option is enabled. When disabled, no network 
  253.       I/O traffic monitoring is performed and this feature within PM Patrol is 
  254.       made inaccessible. 
  255.  
  256.    7. "-P" is used when you wish to disable the PM Patrol Port Monitoring 
  257.       facility. By default, this option is enabled. When disabled, no port 
  258.       monitoring is performed and this feature within PM Patrol is made 
  259.       inaccessible. 
  260.  
  261.  When both HIDDEN and SECURED are enabled, these two parameters cause PM Patrol 
  262.  to operate in complete detached mode and 100% secured from user interaction 
  263.  and intervention. This mode of operation lends itself to LAN administrators 
  264.  and real-time operations who wish to monitor workstations using the DCF and 
  265.  Network components of PM Patrol without involving the workstation user. 
  266.  
  267.  
  268. ΓòÉΓòÉΓòÉ 4.1. Uninstall ΓòÉΓòÉΓòÉ
  269.  
  270. To Uninstall PM Patrol from your system: 
  271.  
  272.    1. Exit PM Patrol if currently active. 
  273.  
  274.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  275.  
  276.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  277.       "Startup" folder, then delete the program object from this folder as 
  278.       well. 
  279.  
  280.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  281.       directory. 
  282.  
  283.  Note:  PM Patrol does not modify your CONFIG.SYS file. Unless you make changes 
  284.  to your CONFIG.SYS to use PM Patrol's programming APIs, there are no 
  285.  modifications necessary to CONFIG.SYS for removing PM Patrol. 
  286.  
  287.  
  288. ΓòÉΓòÉΓòÉ 5. Order and Pricing ΓòÉΓòÉΓòÉ
  289.  
  290. Thank you for choosing PM Patrol. You may order by credit card, check or money 
  291. order, SWREG via CompuServe, or via purchase order. VISA, American Express, 
  292. Mastercard, and Discover are welcome. Corporate site licenses available and 
  293. negotiated based on quantity. 
  294.  
  295. PM Patrol pricing is $29 for a single copy, $15 for the upgrade (from versions 
  296. 2.x/3.x), $110 for a 5-Pack, and $400 for a 25-Pack. All pricing represented in 
  297. US dollars. 
  298.  
  299. Once you order PM Patrol, you will be sent via e-mail or Air Mail a product 
  300. serial number to use with PM Patrol. When you receive the serial number, enter 
  301. it into the PM Patrol Product Registration window. This is accessed from PM 
  302. Patrol's Product Information dialog window. Enter your name or company name 
  303. along with the serial number provided. 
  304.  
  305. Several purchasing methods are described below. Please use the one most 
  306. convenient for you. You may purchase directly from WallyWare or take advantage 
  307. of PM Patrol's resellers: 
  308.  
  309.    1. In the United States and Canada, look to BMT Micro at 800-414-4268 or PsL 
  310.       at 800-242-4775 
  311.  
  312.    2. In the United Kingdom, look to OneStop Software at +44 117-985-3370 or 
  313.       0117-985-3370 (in UK) 
  314.  
  315.    3. In Australia, look to Sentience Software at +61 49-57-7487 
  316.  
  317.   ===============================================================
  318.   Ordering via Purchase Order
  319.   ===============================================================
  320.   Mail, e-mail, or fax a purchase order along with the bill-to
  321.   and ship-to address.  An invoice will be sent to the bill-to
  322.   address.  Remember to provide a Purchase Order number.
  323.  
  324.   If possible, please complete the order form (ORDER.FRM)
  325.   included with the PM Patrol product.
  326.  
  327.    Mail:  WallyWare
  328.        2210 Kingston Drive
  329.        Wheaton, IL  60187  USA
  330.  
  331.    E-Mail: wally@interaccess.com
  332.  
  333.    Fax:   708-690-8893 (630-690-8893 after 7/96)
  334.  
  335.  
  336.   ===============================================================
  337.   Ordering via Check or Money Order
  338.   ===============================================================
  339.   Personal checks are limted to US and Canada only. Bank drafts
  340.   and money orders are without limitation.
  341.  
  342.   Complete the following registration form below and send it
  343.   along with your payment to:
  344.  
  345.        WallyWare
  346.        2210 Kingston Drive
  347.        Wheaton, IL  60187  USA
  348.  
  349.   Product:  PM Patrol for OS/2
  350.   Quantity: ___ Single  $29           ___ 5  Pack $110
  351.        ___ Upgrade $15 (from 2.x/3.x)    ___ 25 Pack $400
  352.  
  353.   Name:   ____________________________________________________
  354.   Address:  ____________________________________________________
  355.        ____________________________________________________
  356.   City:   ____________________________________________________
  357.   State:   _____  Zip: _________  Country:  __________________
  358.  
  359.   Internet Id:    ___________________________________________
  360.   CompuServe Id:   ___________________________________________
  361.   America Online Id: ___________________________________________
  362.  
  363.   Comments? ____________________________________________________
  364.        ____________________________________________________
  365.  
  366.   Where you obtained PM Patrol?  _______________________________
  367.  
  368.  
  369.   ===============================================================
  370.   Ordering via CompuServe SWREG
  371.   ===============================================================
  372.   CompuServe members may register PM Patrol via GO SWREG:
  373.  
  374.    PM Patrol (4.x Single Copy)      Registration Id: 8991
  375.  
  376.    PM Patrol (4.x Upgrade Only)      Registration Id: 9016
  377.    Previous registration will be verified by WallyWare. This
  378.    upgrade only applies to registered 2.x and 3.x users.
  379.  
  380.  
  381.  
  382.   ===============================================================
  383.   Ordering via Credit Card - PsL Service
  384.   ===============================================================
  385.   MasterCard, Visa, American Express, and Discover orders for
  386.   PM Patrol may be placed through PsL, a credit card order taking
  387.   and software registration service. Available Monday-Friday.
  388.  
  389.    Voice:  800-242-4775 or 713-524-6394
  390.        7am -  6pm CST Monday-Thursday
  391.        7am - 12pm CST on Fridays, except holidays.
  392.    Fax:   713-524-6398
  393.  
  394.    E-Mail: 71355.470@CompuServe.com
  395.    Mail:  Credit card orders can also be mailed to PsL at:
  396.        P.O. Box 35705, Houston, TX 77235  USA.
  397.  
  398.   The following is needed by PsL for credit card order processing.
  399.   Be sure to specify your e-mail account if you have one.  PsL
  400.   notifies WallyWare within 24 hours after receiving your order so
  401.   a PM Patrol product serial number can be generated and sent to
  402.   you promptly.
  403.  
  404.    Product Id:     14363 (PM Patrol)
  405.  
  406.    Quantity:      ____ Single  $29     ____  5-Pack $110
  407.              ____ Upgrade $15     ____ 25-Pack $400
  408.  
  409.    Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  410.    Credit Card Number: __________________________________________
  411.    Expiration Date:   __________________________________________
  412.    Name On Card:    __________________________________________
  413.    Billing Address:   __________________________________________
  414.              __________________________________________
  415.              __________________________________________
  416.  
  417.    Internet Id:     __________________________________________
  418.    CompuServe Id:    __________________________________________
  419.    America Online Id:  __________________________________________
  420.  
  421.  
  422.   Please note:
  423.    WallyWare CAN NOT be reached at the numbers above.  These
  424.    numbers are for PsL - CREDIT CARD ORDERS ONLY.
  425.  
  426.    Any questions about the status of the shipment of an order,
  427.    refunds, registration options, product details, technical
  428.    support, volume discounts, dealer pricing, site licenses,
  429.    etc., must be directed to WallyWare.
  430.  
  431.  
  432.   ===============================================================
  433.   Ordering via Credit Card - BMT Micro Service
  434.   ===============================================================
  435.   MasterCard, Visa, American Express, and Discover orders for
  436.   PM Patrol may be placed through BMT Micro, a credit card order
  437.   taking and software registration service. Available Monday-Friday.
  438.  
  439.    Voice:  800-414-4268 (Monday - Friday)
  440.    Fax:   910-350-2937
  441.    E-Mail: orderes@bmt.wilmington.net
  442.  
  443.   The following is needed by BMT for credit card order processing.
  444.   Be sure to specify your e-mail account if you have one. BMT Micro
  445.   notifies WallyWare within 24 hours after receiving your order so
  446.   a PM Patrol product serial number can be generated and sent to
  447.   you promptly.
  448.  
  449.    Product Id:     PM Patrol
  450.  
  451.    Quantity:      ____ Single  $29     ____  5-Pack $110
  452.              ____ Upgrade $15     ____ 25-Pack $400
  453.  
  454.    Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  455.    Credit Card Number: __________________________________________
  456.    Expiration Date:   __________________________________________
  457.    Name On Card:    __________________________________________
  458.    Billing Address:   __________________________________________
  459.              __________________________________________
  460.              __________________________________________
  461.  
  462.    Internet Id:     __________________________________________
  463.    CompuServe Id:    __________________________________________
  464.    America Online Id:  __________________________________________
  465.  
  466.  
  467.   Please note:
  468.    WallyWare CAN NOT be reached at the numbers above.  These
  469.    numbers are for BMT Micro - CREDIT CARD ORDERS ONLY.
  470.  
  471.    Any questions about the status of the shipment of an order,
  472.    refunds, registration options, product details, technical
  473.    support, volume discounts, dealer pricing, site licenses,
  474.    etc., must be directed to WallyWare.
  475.  
  476.  
  477.   ===============================================================
  478.   Receiving your PM Patrol Product Serial Number
  479.   ===============================================================
  480.   You're Product Serial number is assigned by WallyWare after
  481.   purchasing PM Patrol.  After you receive this code, enter it,
  482.   (along with your name) in PM Patrol's Product Registration window.
  483.  
  484.    E-Mail shipment:
  485.      For E-Mail users on Internet, CompuServe, or America Online
  486.      your PM Patrol product serial number will be sent via e-mail
  487.      within 24 hours after receipt of your PM Patrol purchase.
  488.  
  489.    Air-Mail shipment:
  490.      For users without e-mail access, WallyWare will send via
  491.      First Class Air mail a 3 1/2 diskette containing the latest
  492.      version of PM Patrol and an invoice with your product serial
  493.      number.  Please allow 5-10 days for shipping.
  494.  
  495.  
  496.   PM Patrol is posted on several popular sites.  The following sites
  497.   receive uploads of PM Patrol directly from WallyWare.  If you have
  498.   a more convenient ftp or download site, let us know.
  499.  
  500.   The file name is typically PMPxyz.ZIP where "x" represents the major
  501.   release number, "y" represents the minor release number, and "z"
  502.   represents an optional fix release as an alphabetic character.
  503.   For example, PMP41.ZIP or PMP41a.ZIP.  On CompuServe, the PM Patrol
  504.   file will always be called PMPATROL.ZIP.
  505.  
  506.    WWW: http://homepage.interaccess.com/~wally
  507.    WWW: http://www.wilmington.net/bmtmicro
  508.    WWW: http://www.os2.hammer.org/OS2
  509.    FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  510.    FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  511.    BBS: Chicago online OS/2        (708-895-4042  8N1)
  512.    BBS: Peter Norloff's OS/2 Shareware   (703-385-4325  8N1)
  513.    CompuServe               (OS2BVEN Forum, Shareware Library)
  514.    America Online             (OS/2 Forum)
  515.  
  516.   You can ALWAYS get the latest version of PM Patrol from our WEB
  517.   site on the internet at http://homepage.interaccess.com/~wally
  518.  
  519.   Thank you for choosing PM Patrol.  And, enjoy...
  520.   Dave Wallenberg, WallyWare
  521.  
  522.   Internet E-Mail: wally@interaccess.com
  523.   Internet WWW:   http://homepage.interaccess.com/~wally
  524.   Phone:      708-510-7412 (630-510-7412 after 7/96)
  525.   Fax:       708-690-8893 (630-690-8893 after 7/96)
  526.  
  527.  
  528. ΓòÉΓòÉΓòÉ 6. Support ΓòÉΓòÉΓòÉ
  529.  
  530. Sales and Technical Support for PM Patrol and other WallyWare products are 
  531. available through phone, e-mail, and fax. 
  532.  
  533. In most cases, phone support will require you to leave a message for WallyWare. 
  534. We will return domestic US calls as soon as possible usually within 48 hours. 
  535. E-mail support can usually count on response within 48 hours. 
  536.  
  537. PM Patrol is posted to and can be downloaded from the following electronic 
  538. repositories. The file name is typically PMPxyz.ZIP where "x" represents the 
  539. major release number, "y" represents the minor release number, and "z" 
  540. represents an optional fix release as an alphabetic character. For example, 
  541. PMP41.ZIP or PMP41a.ZIP. On CompuServe, the PM Patrol file will always be 
  542. called PMPATROL.ZIP. 
  543.  
  544.  WWW: http://homepage.interaccess.com/~wally
  545.  WWW: http://www.wilmington.net/bmtmicro
  546.  WWW: http://www.os2.hammer.org/OS2
  547.  FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  548.  FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  549.  BBS: Chicago online OS/2        (708-895-4042  8N1)
  550.  BBS: Peter Norloff's OS/2 Shareware   (703-385-4325  8N1)
  551.  CompuServe               (OS2BVEN Forum, Shareware Library)
  552.  America Online             (OS/2 Forum)
  553.  
  554. You can ALWAYS get the latest version of PM Patrol from our WEB
  555. site on the internet at http://homepage.interaccess.com/~wally
  556.  
  557. WallyWare
  558. 2210 Kingston Drive
  559. Wheaton, Illinois  60187  USA
  560.  
  561. Internet E-Mail: wally@interaccess.com
  562. Internet WWW:   http://homepage.interaccess.com/~wally
  563. Phone:      708-510-7412 (630-510-7412 after 7/96)
  564. Fax:       708-690-8893 (630-690-8893 after 7/96)
  565.  
  566.  
  567. ΓòÉΓòÉΓòÉ 7. Product Information ΓòÉΓòÉΓòÉ
  568.  
  569. This section describes what PM Patrol is and what it offers 
  570.  
  571.  
  572. ΓòÉΓòÉΓòÉ 7.1. What is It? ΓòÉΓòÉΓòÉ
  573.  
  574. PM Patrol is robust yet easy to use resource monitoring and management 
  575. software, for OS/2 versions 2.1 and higher. The monitors, frequency of resource 
  576. samples, preferences, size and placement of windows are user selectable 
  577. allowing complete customization. 
  578.  
  579. Always accessible, PM Patrol extends the OS/2 desktop by providing insight into 
  580. current system activities and resource utilization. 
  581.  
  582. The quick-access utility items include a program launcher, program scheduler, 
  583. print/spooler functions, Fast Find, and much more. 
  584.  
  585. The numerous resource monitors that PM Patrol provides can be logged for later 
  586. review or accessed dynamically with the Data Collection Facility APIs. Recorded 
  587. as text, the logged data can be manipulated using tools such as Rexx, AWK, 
  588. GREP, and custom C/C++ programs. 
  589.  
  590. The appearance of PM Patrol has maintained the attitude that the tool should be 
  591. visible, yet not use valuable desktop space. As a result, the main Status Line 
  592. is displayed at the bottom of the display (as default). 
  593.  
  594.  
  595. ΓòÉΓòÉΓòÉ 7.2. Why do I need it? ΓòÉΓòÉΓòÉ
  596.  
  597. PM Patrol offers numerous and intuitive selections for monitoring OS/2 status 
  598. and activities: 
  599.  
  600.    1. Display current Date/Time with optional synchronization to network 
  601.       server. 
  602.  
  603.    2. System up-time for workstation 
  604.  
  605.    3. Internet Connect-Time for workstation (requires IBM's Internet Access 
  606.       Kit). 
  607.  
  608.    4. Network user ID, Domain, server, and network I/O traffic for the 
  609.       workstation 
  610.  
  611.    5. Processes, threads, DLLs, drivers, and shared memory activity 
  612.  
  613.    6. Event monitoring and notification of critical OS/2 resources and 
  614.       thresholds. 
  615.  
  616.    7. CPU activity per Process and Thread in graphical view 
  617.  
  618.    8. Complete drive summary and detail information with graphical utilization 
  619.  
  620.    9. Local or remote print spooler jobs on a per queue basis 
  621.  
  622.   10. Disk Drives on-line (including network drives) 
  623.  
  624.   11. Free space for selected drives (up to 6 drives including network drives) 
  625.  
  626.   12. OS/2 swap activity 
  627.  
  628.   13. Identify system levels for OS/2 component installed 
  629.  
  630.   14. OS/2 free real and virtual memory activity 
  631.  
  632.   15. Active number of OS/2 processes and threads 
  633.  
  634.   16. CPU utilization (current vs. rolling average over last 1 minute) 
  635.  
  636.   17. Battery status for mobile computers 
  637.  
  638.   18. Graphical views of memory, CPU usage, and swapping 
  639.  
  640.  PM Patrol contains a suite of robust utility and OS/2 desktop functions: 
  641.  
  642.    1. Robust monitoring of OS/2 processes and threads (Process Monitor window) 
  643.       with ability to monitor CPU utilization per process, memory used per 
  644.       process, process priorities, and "kill" ill-behaved programs. 
  645.  
  646.    2. Process Meter features provides unattended operation and automatic 
  647.       collection of process statistics for identifying duration, CPU 
  648.       consumption, and instances over a range of time. 
  649.  
  650.    3. Quick-access program launcher with priority control 
  651.  
  652.    4. Quick-access program scheduler with priority control for timed events 
  653.  
  654.    5. Network Monitor and I/O statistics for workstation 
  655.  
  656.    6. Summary and detailed information of drives 
  657.  
  658.    7. Summary and detailed information of OS/2 configuration and environment 
  659.  
  660.    8. Changing the mouse and wait pointers in OS/2 
  661.  
  662.    9. Fast Find files (pattern, size, last access, attributes, network drives) 
  663.  
  664.   10. Fast Help for all OS/2 and Windows help information files on-line 
  665.  
  666.   11. Fast access to WorkPlace Shell object classes 
  667.  
  668.   12. Find duplicate files 
  669.  
  670.   13. Drive utilization and analysis with graphical distribution 
  671.  
  672.   14. Fast Format diskettes 
  673.  
  674.   15. Print queue management 
  675.  
  676.   16. Identify system levels for OS/2 component installed 
  677.  
  678.   17. Minimize all visible windows (and restore all minimized windows) 
  679.  
  680.   18. Security to protect PM Patrol settings and configuration for stand-alone 
  681.       and network use 
  682.  
  683.   19. Suspending power for mobile computers (sleep mode) 
  684.  
  685.   20. Suspending PM Patrol monitors 
  686.  
  687.   21. Forced OS/2 shutdown 
  688.  
  689.   22. Changing mouse and wait pointers for all display types 
  690.  
  691.   23. Set system date and time 
  692.  
  693.   24. Several command-line utilities such as Fast Find and Find Duplicate 
  694.       files, Print Spooler Management, and more 
  695.  
  696.   25. API interfaces to retrieve real-time statistics from PM Patrol 
  697.  
  698.  
  699. ΓòÉΓòÉΓòÉ 7.3. Comparative Matrix ΓòÉΓòÉΓòÉ
  700.  
  701. =====================================================================
  702.       Item          PM Patrol  SPM/2  CpuMon  Pegasus
  703. =====================================================================
  704. Low memory requirements        x             x
  705. Low CPU requirements          x     x        x
  706. Network monitoring (1)         x
  707. CPU monitoring             x     x    x     x
  708. Magnified CPU monitoring        x
  709. LPT Port monitoring          x         x     x
  710. COM Port monitoring                   x     x
  711. Process monitors            x         x     x
  712. Free Memory monitor          x     x    x     x
  713. Virtual Memory monitor         x     x
  714. Resident Memory monitor        x     x
  715. Memory Per Process monitor            x    x
  716. Swap free and size monitor       x     x    x     x
  717. Drive monitoring            x     x    x     x
  718. Drive Cache monitors (2)        x             x
  719. Drive utilization mapping       x
  720. Power Mgmt Monitoring and Control   x
  721. Inconspicuous monitor display     x
  722. Real-time Data Collection Facility   x     x        x
  723. C/C++ API interfaces          x     x        x
  724. Quick access program Launcher     x
  725. Build-in program Scheduler       x
  726. Line graph displays          x     x        x
  727. Selective logging           x         x     x
  728. Print spooler mgmt and control     x
  729. System and Configuration Info.     x
  730. Performance tuning guide        x
  731. Desktop/WorkPlace Shell utilities   x
  732. Software testing tools         x
  733. Event Monitoring w/Alarms       x
  734. Multimedia Enabled           x
  735. Internet Access Monitoring       x
  736. Fast access to system help files    x
  737. Robust Process Metering        x
  738. Low cost                x
  739.  
  740. (1) LAN Server support only
  741. (2) HPFS-386 only
  742.  
  743.  
  744. ΓòÉΓòÉΓòÉ 8. How do I ? ΓòÉΓòÉΓòÉ
  745.  
  746. This section describes how to do things in PM Patrol that may not be obvious. 
  747.  
  748.  
  749. ΓòÉΓòÉΓòÉ 8.1. Set fonts ΓòÉΓòÉΓòÉ
  750.  
  751. You can select "Font" from the PM Patrol "Options" dialog and select a font for 
  752. the PM Patrol main Status Line. 
  753.  
  754. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  755.  
  756. Or, use the Font Palette in the OS/2 "Setup" folder by dropping a font on the 
  757. PM Patrol Status Line. 
  758.  
  759. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  760.  
  761. Note:  PM Patrol supports the ability to have a different font and color scheme 
  762. for each window - including the main Status Line. 
  763.  
  764.  
  765. ΓòÉΓòÉΓòÉ 8.2. Display Different Drives ΓòÉΓòÉΓòÉ
  766.  
  767. By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  768. through H. This drive mapping can be changed to any desired combination. 
  769.  
  770.    1. From the PM Patrol Status Line, right-click the Status Line. 
  771.  
  772.    2. Select the "Drives" menu option 
  773.  
  774.    3. Then select the "Status Line" option. 
  775.  
  776.    4. This will display a menu identifying the current drive mappings assigned. 
  777.       Select the PM Patrol drive number you wish to change. 
  778.  
  779.    5. A mini dialog will popup displaying current drives on-line and 
  780.       accessible. Choose which drive to map. 
  781.  
  782.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  783.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  784.  
  785.    7. This information is saved and remembered by PM Patrol. 
  786.  
  787.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  788.  of the free space for the drive to inform you the drive is off-line. This is 
  789.  more common when monitoring remote drives on a network. 
  790.  
  791.  
  792. ΓòÉΓòÉΓòÉ 8.3. Set Colors ΓòÉΓòÉΓòÉ
  793.  
  794. Use the "Colors" dialog. This can be accessed via the PM Patrol Setting option 
  795. on the "Options" dialog. You can control both foreground and background RGB 
  796. colors with this mechanism. 
  797.  
  798. Or, use the Color Palette in the OS/2 "Setup" folder by dropping a color 
  799. selection on the PM Patrol Status Line. 
  800.  
  801. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  802.  
  803.  
  804. ΓòÉΓòÉΓòÉ 8.4. Move the Status Line ΓòÉΓòÉΓòÉ
  805.  
  806. There are two methods for moving the main Status Line. All PM Patrol settings 
  807. and window positions are automatically saved when you exit PM Patrol. 
  808.  
  809.         a. Holding the right mouse button down, drag the Status Line up or 
  810.            down, it will automatically keep the width of the Status Line within 
  811.            the boundaries of your desktop screen width. 
  812.  
  813.         a. Single click with both mouse buttons (Chord click) on the PM Patrol 
  814.            Status Line.  This will enable the title bar to the Status Line. 
  815.  
  816.         b. Select the title bar and hold the mouse button while dragging the 
  817.            Status Line to the desired position. 
  818.  
  819.         c. Chord click the Status Line again (or select "Hide Controls" from 
  820.            the System Menu box) to hide the title bar. 
  821.  
  822.         d. This will allow you to move the Status Line off the desktop 
  823.            boundaries for those of you who wish to truncate the left of right 
  824.            side of the Status Line. 
  825.  
  826.  
  827. ΓòÉΓòÉΓòÉ 8.5. Mouse Control with PM Patrol ΓòÉΓòÉΓòÉ
  828.  
  829. Double click the left mouse button on the PM Patrol Status Line to get to PM 
  830. Patrol Options. 
  831.  
  832. Single click the right mouse button on the PM Patrol Status Line for quick 
  833. access the PM Patrol utilities menu. 
  834.  
  835. Single click the left and right mouse buttons (Chord click) on the PM Patrol 
  836. Status Line to display the PM Patrol title bar and system menu. This allows you 
  837. to move the PM Patrol Status Line to a desired position. Chord click again to 
  838. hide the title bar, or select the "System Menu" box on the title bar and then 
  839. select "Hide Controls". 
  840.  
  841.  
  842. ΓòÉΓòÉΓòÉ 8.6. Start PM Patrol Minimized/Hidden ΓòÉΓòÉΓòÉ
  843.  
  844. PM Patrol can be started with a command line option ("-H") to start it in a 
  845. HIDDEN state. This is advantageous for some users - particularly when the user 
  846. is only interested in the DCF component. Use the OS/2 Window List to "unhide" 
  847. the window. This also lends itself to workstations which are used exclusively 
  848. for real-time operations and/or data acquisition and wish to use the Logger 
  849. component of PM Patrol. 
  850.  
  851. Combined with the "Start Secured" option, PM Patrol to operates in complete 
  852. detached mode and 100% secured from user interaction and intervention. The only 
  853. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  854. itself to LAN administrators who wish to monitor workstations using the DCF and 
  855. Network components of PM Patrol without involving the workstation user. 
  856.  
  857.  
  858. ΓòÉΓòÉΓòÉ 8.7. Start PM Patrol Secured ΓòÉΓòÉΓòÉ
  859.  
  860. PM Patrol can be started with a command line option "-S" to start PM Patrol in 
  861. SECURED state. When enabled, PM Patrol does not appear in the OS/2 Window List 
  862. and can not therefore be terminated by the user. The user MUST close PM Patrol 
  863. via the normal PM Patrol mechanism. 
  864.  
  865. Combined with the "Start Hidden" option, PM Patrol to operates in complete 
  866. detached mode and 100% secured from user interaction and intervention. The only 
  867. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  868. itself to LAN administrators who wish to monitor workstations using the DCF and 
  869. Network components of PM Patrol without involving the workstation user. 
  870.  
  871.  
  872. ΓòÉΓòÉΓòÉ 8.8. Uninstall PM Patrol ΓòÉΓòÉΓòÉ
  873.  
  874. To Uninstall PM Patrol from your system: 
  875.  
  876.    1. Exit PM Patrol if currently active. 
  877.  
  878.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  879.  
  880.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  881.       "Startup" folder, then delete the program object from this folder as 
  882.       well. 
  883.  
  884.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  885.       directory. 
  886.  
  887.  
  888. ΓòÉΓòÉΓòÉ 8.9. Use PM Patrol without a mouse ΓòÉΓòÉΓòÉ
  889.  
  890. To access PM Patrol without a mouse, use Ctrl-Esc to get to the OS/2 Window 
  891. List. Then, select the "PM patrol Status Line". At this point, you can: 
  892.  
  893.    1. Press F11 to invoke the PM Patrol Utility Popup menu 
  894.  
  895.    2. Press F12 to invoke the PM Patrol Options window 
  896.   Once you have access to the Utility Popup, you can go anywhere within PM 
  897.  Patrol without a mouse. 
  898.  
  899.  
  900. ΓòÉΓòÉΓòÉ 9. Options ΓòÉΓòÉΓòÉ
  901.  
  902. This section describes various options and configuration settings that may be 
  903. selected for PM Patrol. 
  904.  
  905.  
  906. ΓòÉΓòÉΓòÉ 9.1. System ΓòÉΓòÉΓòÉ
  907.  
  908. The System section provides the ability to view and change several OS/2 
  909. environmental facets. 
  910.  
  911. This can be accessed from the PM Patrol "Options" dialog. 
  912.  
  913.  
  914. ΓòÉΓòÉΓòÉ 9.1.1. System Level ΓòÉΓòÉΓòÉ
  915.  
  916. The System Level option launches the OS/2 SYSLEVEL.EXE utility and displays the 
  917. current release and CSD level for the OS/2 components installed on your system. 
  918.  
  919.  
  920. ΓòÉΓòÉΓòÉ 9.1.2. Set Date/Time ΓòÉΓòÉΓòÉ
  921.  
  922. The Set Date/Time option provides a small dialog for changing the OS/2 system 
  923. date and/or time. Input is fully edited for valid dates including leap-year and 
  924. you are notified of errors. 
  925.  
  926. The Status Line Date/Time is updated to reflect the new date/time. 
  927.  
  928.  
  929. ΓòÉΓòÉΓòÉ 9.1.3. Mouse Pointer ΓòÉΓòÉΓòÉ
  930.  
  931. The Mouse Pointer option allows you to change the current mouse pointer type. 
  932. Using the OS/2 Icon Editor, you can create your own POINTER files. 
  933.  
  934. This option provides a bigger pointer for SVGA and XGA systems.  On XGA 
  935. systems, if you change the default pointer, the pointer may occasionally 
  936. disappear. This is most likely caused by the IBM OS/2 XGA drivers and is 
  937. repaired in OS/2 2.1 with the 2.11 CSD. 
  938.  
  939. Note:  After selecting a new pointer, DO NOT delete, move, or rename the 
  940. pointer file without changing the Mouse Pointer via PM Patrol FIRST. OS/2 looks 
  941. for this at IPL. If it is not found at OS/2 bootup, OS/2 will hang. So put the 
  942. pointer file in a safe place on a not removable media type and backup INI 
  943. files. 
  944.  
  945. Select "Reset" to reset back to the original pointer. 
  946.  
  947.  
  948. ΓòÉΓòÉΓòÉ 9.1.4. Wait Pointer ΓòÉΓòÉΓòÉ
  949.  
  950. The Wait Pointer option allows you to change the current wait pointer type. 
  951. Typically, this is the OS/2 time clock when the system is busy. Using the OS/2 
  952. Icon Editor, you can create your own POINTER files. 
  953.  
  954. This option was added to provide a bigger pointer for SVGA and XGA systems.  On 
  955. XGA systems, if you change the default pointer, the pointer may occasionally 
  956. disappear.  This is most likely caused by the XGA drivers. 
  957.  
  958. After selecting a new pointer, DO NOT delete, move, or rename this file without 
  959. performing this process as well. OS/2 looks for this at IPL. So put the pointer 
  960. file in a safe place on a not removable media type and backup INI files. 
  961.  
  962. Select "Reset" to reset back to the original pointer. 
  963.  
  964.  
  965. ΓòÉΓòÉΓòÉ 9.2. Settings ΓòÉΓòÉΓòÉ
  966.  
  967. The Settings section provides the ability to view, change, and permanently 
  968. change PM Patrol configuration items. 
  969.  
  970. This can be accessed from the PM Patrol "Options" dialog. 
  971.  
  972.  
  973. ΓòÉΓòÉΓòÉ 9.2.1. Reset All Settings ΓòÉΓòÉΓòÉ
  974.  
  975. The Reset All Settings option resets all PM Patrol to options to their original 
  976. defaults. This includes colors, window positions, fonts, monitor items on the 
  977. Status Line and PM Patrol Logger, and Process Meter data. 
  978.  
  979.  
  980. ΓòÉΓòÉΓòÉ 9.2.2. General Settings ΓòÉΓòÉΓòÉ
  981.  
  982. General Settings is broken-out into the following groups: 
  983.  
  984.    1. "Startup" options and windows that get started when PM Patrol is started 
  985.  
  986.    2. "Miscellaneous" options 
  987.  
  988.    3. "Spooler" options for local or remote print spool monitoring 
  989.  
  990.    4. "Editor" and "Viewer" programs used by PM Patrol 
  991.  
  992.  The following items discuss Startup function: 
  993.  
  994.    1. Enable Process Monitor Window to have this facility launched when PM 
  995.       Patrol starts. 
  996.  
  997.    2. Enable Memory Monitor Window to have this facility launched when PM 
  998.       Patrol starts. 
  999.  
  1000.    3. Enable Network Monitor Window to have this facility launched when PM 
  1001.       Patrol starts. 
  1002.  
  1003.    4. Enable Port Monitor Window to have this facility launched when PM Patrol 
  1004.       starts. 
  1005.  
  1006.    5. Enable Drives Monitor Window to have this facility launched when PM 
  1007.       Patrol starts. 
  1008.  
  1009.    6. Enable Event Monitor Window to have this facility launched when PM Patrol 
  1010.       starts. 
  1011.  
  1012.    7. Enable Activity Monitor Window to have this facility launched when PM 
  1013.       Patrol starts. 
  1014.  
  1015.    8. Enable Debug Facility to have this facility start when PM Patrol starts. 
  1016.  
  1017.    9. Enable Logging Facility to have this facility start when PM Patrol 
  1018.       starts. 
  1019.  
  1020.   10. Enable Reset Process Meter to have the Process Meter data base 
  1021.       initialized when PM Patrol starts (typically each time you reboot your 
  1022.       system). When this settings is not enabled, PM Patrol keeps track of 
  1023.       Process Meter statistics across each invocation of PM Patrol, thus 
  1024.       providing accumulative statistics for you until you manually reset the 
  1025.       Process Meter data base. This option is enabled by default. Therefore, 
  1026.       the meter will be initialized each time you start PM Patrol. 
  1027.  
  1028.  The following items discuss Miscellaneous items: 
  1029.  
  1030.    1. Sound Bites and Volume option enables or disables the playing of 
  1031.       multimedia WAV files upon various PM Patrol events. This option is only 
  1032.       applicable to systems that are Multimedia enabled with MMPM/2 for OS/2. 
  1033.       The Volume control allows you to adjust the volume for PM Patrol's WAV 
  1034.       sound bites independantly from the OS/2 "System Sounds" volume control. 
  1035.       The default is 50% and may require adjustment for your system. PM Patrol 
  1036.       stores it's WAV files in a subdirectory called "WAV" and is located under 
  1037.       the PM Patrol installation directory. Some events include: 
  1038.  
  1039.         a. When an error occurs (pmperr.wav). 
  1040.  
  1041.         b. When free disk space is low (pmpfdisk.wav). 
  1042.  
  1043.         c. Each time you connect (pmpin.wav) or disconnect from (pmpout.wav) 
  1044.            the Internet when using IBM's Internet Access Kit. 
  1045.  
  1046.         d. Each time you Logon (pmpin.wav) or Logoff (pmpout.wav) when using 
  1047.            IBM's LAN Server. 
  1048.  
  1049.         e. When you kill a program from the Process Monitor window or Fast 
  1050.            Format a floppy diskette (pmpshred.wav). 
  1051.  
  1052.         f. When you refresh the window contents manually (pmprefr.wav). 
  1053.  
  1054.         g. When you add (pmpadd.wav) or delete (pmpshred.wav) items from a 
  1055.            window. 
  1056.  
  1057.         h. When you delete PM Patrol or Debug log files (pmpshred.wav). 
  1058.  
  1059.         i. When the PM Patrol Status Line, Activity Monitor, or PM Patrol's CPU 
  1060.            monitor are suspended (pmppause.wav) and resumed (pmpreset.wav). 
  1061.  
  1062.         j. When using PM Patrol's print spooler management functions. This 
  1063.            includes purging queues (pmpshred.wav), releasing queues 
  1064.            (pmpreset.wav), and holding queues (pmppause.wav). 
  1065.  
  1066.         k. When PM Patrol windows are copied to the clipboard, printed, or 
  1067.            saved to a file (pmprpt.wav). 
  1068.  
  1069.         l. When printing to local LPT1, LPT2, or LPT3 has completed spooling to 
  1070.            printer (pmpprint.wav). 
  1071.  
  1072.         m. When remaining battery life drops below specified threshold 
  1073.            (pmpbat.wav). 
  1074.  
  1075.         n. When available virtual memory falls below specified threshold 
  1076.            (pmpvram.wav). 
  1077.  
  1078.         o. When the OS/2 swap file grows at any time (pmpgswap.wav). 
  1079.  
  1080.         p. When available OS/2 swap space falls below the specified threshold 
  1081.            (pmpfswap.wav). 
  1082.  
  1083.         q. When average CPU exceeds specified threshold (pmpcpu.wav). 
  1084.  
  1085.         r. When PM Patrol logging is stopped or completed (pmpdone.wav). 
  1086.  
  1087.         s. When various "Reset" options are selected (pmpreset.wav). 
  1088.  
  1089.    2. Process Metering option enables or disables the Process Meter feature 
  1090.       which provides ongoing monitoring of process metrics and statistics for 
  1091.       analyzing duration, CPU effort, instances, execution dates, and more. 
  1092.       Refer to the "Monitors" on-line section for details. 
  1093.  
  1094.    3. Confirmations option enables or disables PM Patrol from asking you for 
  1095.       confirmation upon various events such as killing processes via the 
  1096.       Process Monitor window. There are cases where PM Patrol will ignore this 
  1097.       option and request confirmation for your own protection, even if this 
  1098.       option is turned off. 
  1099.  
  1100.    4. Animated Windows option enables or disables the appearance of PM Patrol 
  1101.       windows "zooming" in and out when windows are opened and closed. 
  1102.  
  1103.    5. Idle-Time Searches option controls the search priority for "Fast Find", 
  1104.       "Drive Map", and "Fast Help" operations. When enabled, these operations 
  1105.       only get OS/2 time slices when there is inactivity (idle) within your 
  1106.       system. 
  1107.  
  1108.    6. Auto-Save Profile option will, when enabled, automatically save the PM 
  1109.       Patrol profile and statistics at the frequency specified. The frequency 
  1110.       is specified as minutes with a range of 1 minute to 8 hours, default 15 
  1111.       minutes. This facilitates the integrity for the PM Patrol real-time 
  1112.       statistics in the event of a system hang.  If not enabled, PM Patrol will 
  1113.       automatically save the profile statistics, but only when PM Patrol is 
  1114.       shutdown. 
  1115.  
  1116.       Note:  With this option turned on, power-managed computers will not 
  1117.       automatically power-down the disk drive(s) because of the disk write 
  1118.       generated from this option. This disk write is not buffered and therefore 
  1119.       commits to disk immediately. 
  1120.  
  1121.    7. Lock Status Line Position option locks-in the PM Patrol Status Line 
  1122.       position from accidently dragging and moving. 
  1123.  
  1124.    8. Reflect Free Swap in VRam. This option provides the ability to have the 
  1125.       Free Virtual Memory calculation reflect (or not reflect) free OS/2 swap 
  1126.       space from the swap file (swapper.dat). When enabled, the Free Virtual 
  1127.       RAM (VRam) calculation will reflect a more accurate and actual reading 
  1128.       that factors in available swap pages. Please be aware that enabling this 
  1129.       option will cause the Free VRam reading to be inconsistent with OS/2 
  1130.       System Information Tool for "Total Available Memory". 
  1131.  
  1132.    9. Reflect Reserved in VRam. This option provides the ability to have the 
  1133.       Free Virtual Memory calculation reflect (or not reflect) the reserved 
  1134.       disk space as specified in the "swappath" directive of your OS/2 
  1135.       Config.Sys. When enabled, the Free Virtual RAM (VRam) calculation will 
  1136.       reflect a more accurate and actual reading that factors in this reserved 
  1137.       disk space. Please be aware that enabling this option will cause the Free 
  1138.       VRam reading to be inconsistent with OS/2 System Information Tool for 
  1139.       "Total Available Memory". 
  1140.  
  1141.   10. Reflect Free RAM in VRam. This option provides the ability to have the 
  1142.       Free Virtual Memory calculation reflect (or not reflect) free Real memory 
  1143.       in the calculation of Free/Used Virtual memory. Ones definition of 
  1144.       Virtual Memory may or may not include Real Memory into the calculation. 
  1145.       This option provides you the ability to select your choice of definition. 
  1146.       When enabled, the Free Virtual RAM (VRam) calculation will result in a 
  1147.       very different value, as compared to disabled, and will fluctuate often 
  1148.       as Real RAM is used and freed. The opposite will occur when this option 
  1149.       is disabled. Please be aware that disabling this option will cause the 
  1150.       Free VRam reading to be inconsistent with OS/2 System Information Tool 
  1151.       for "Total Available Memory". 
  1152.  
  1153.   11. Message Popup Seconds option allows you to define how long (seconds) PM 
  1154.       Patrol should display popup messages. The default is 4 seconds. 
  1155.  
  1156.   12. Auto-Popup Menu option causes the PM Patrol Status Line popup menu to 
  1157.       automatically popup when the mouse is moved over the Status Line within 1 
  1158.       inch of the right or left side of the screen. No mouse click is 
  1159.       necessary. Where the mouse pointer is outside of these 1 inch boundaries, 
  1160.       PM Patrol behaves normally. This feature is nice for those who want 
  1161.       ultra-fast access to PM Patrol features. When enabled, the double-click 
  1162.       option off the Status Line is disabled. To access to PM Patrol "Options" 
  1163.       window, select it off the popup menu. 
  1164.  
  1165.   13. Bitmap in Popup Menu option enables or disables displaying the PM Patrol 
  1166.       bitmap in the Utility Popup menu accessed from the PM Patrol Status Line. 
  1167.  
  1168.   14. The Sync Time with Server option enables or disables synchronization of 
  1169.       date and time as compared to the network server currently logged-on to. 
  1170.       When enabled and logged-on to a LAN Server, PM Patrol will (every 10 
  1171.       minutes) synchronize the date and time with the LAN Server. This is set 
  1172.       off by default. 
  1173.  
  1174.   15. The Check floppy at Shutdown will cause PM Patrol to warn you when PM 
  1175.       Patrol is shutdown that there is a floppy diskette mounted in the boot 
  1176.       floppy drive. 
  1177.  
  1178.   16. The CPU Magnification provides the ability to magnify actual CPU 
  1179.       utilization. The value specified is a multiplier (1x, 2x, ... 25x). 
  1180.       Setting magnification to 1 will result in the same value for actual CPU. 
  1181.       The magnification can be monitored in either PM Patrol's Status Line or 
  1182.       Activity Monitor. By default, this option is not enabled in the Activity 
  1183.       Monitor and is set to 5 times (5x) in General Settings. This feature of 
  1184.       PM Patrol lends itself to high-end i486 and Pentium based CPUs and allows 
  1185.       the ability to "zoom" into CPU usage less than 1 percent. PM Patrol will 
  1186.       not report CPU magnification higher than 100 percent. 
  1187.  
  1188.   17. The Battery Calibration option allows you to specify the "zero" value for 
  1189.       the mobile computer's battery. The OS/2 APM facilities assume the battery 
  1190.       to be 100% new. As the battery ages, the original maximum life of the 
  1191.       battery diminishes. Especially for NICad batteries. PM Patrol allows you 
  1192.       to specify a "new" maximum life. When set at zero, observe the PM Patrol 
  1193.       "Bat" percentage. When your computer informs you the battery is 
  1194.       dangerously low (usually several short beeps), observe the percentage 
  1195.       that PM Patrol reports. This value becomes the new "zero" point. Select 
  1196.       this value in the "Calibration" field in the "General Settings" dialog. 
  1197.       Repeat this process every 3-4 months to ensure accurate and reliable 
  1198.       battery readings. 
  1199.  
  1200.  The following items discuss print Spooler options: 
  1201.  
  1202.    1. The Monitor Remote Queue(s) item allows you to select "local" or "Remote" 
  1203.       print queue(s) on a LAN Server and requires IBM LAN Requester be 
  1204.       installed on the local workstation. When enabled, the LAN Server 
  1205.       currently logged-on to is monitored.  PM Patrol automatically recognizes 
  1206.       when a new or different server is logged-on to and adjusts the monitoring 
  1207.       for that server. When not selected, the local workstation print queues 
  1208.       are monitored. This is the default. 
  1209.  
  1210.    2. PM Patrol displays a "?" on the Status Line when it can not poll print 
  1211.       spooler data - perhaps when the user is not logged-on to the server. 
  1212.  
  1213.    3. Monitoring a remote print spooler is only applicable if you have LAN 
  1214.       Requester installed on your workstation, and you are logged onto the 
  1215.       network server. 
  1216.  
  1217.    4. The "Total all Print Queues" option allows you to summarize all print 
  1218.       jobs across all queues and report this value. If this option is NOT 
  1219.       selected, PM Patrol reports the number of print jobs in each spooler 
  1220.       queue along with the status of the queue (h=held or r=released). 
  1221.  
  1222.  The Viewer identifies which OS/2 program/utility to use for viewing.  PM 
  1223.  Patrol uses this for Log viewing and others purposes as they surface in future 
  1224.  releases of PM Patrol. 
  1225.  
  1226.  The Editor identifies which OS/2 program/utility to use for editing.  PM 
  1227.  Patrol uses this for the "Fast Find" files facility and other purposes as they 
  1228.  surface in future releases of PM Patrol. 
  1229.  
  1230.  
  1231. ΓòÉΓòÉΓòÉ 9.2.3. Event Settings ΓòÉΓòÉΓòÉ
  1232.  
  1233. The following items discuss Event monitor options. The Sound Bites for the 
  1234. following events will only occur when "Sound Bites" is enabled in the "General 
  1235. Settings" window and MMPM/2 is installed on your system. 
  1236.  
  1237. When these selected events occur, you will be notified (if enabled) at the 
  1238. frequency specified under "Event Frequencies". By default, you are notified 
  1239. every 5 minutes after the event threshold has been exceeded and sustained for 1 
  1240. minute. 
  1241.  
  1242. Notification occurs in the form of Sound Bites (if enabled), speaker sounds, 
  1243. and/or short popup messages. For systems which are not multimedia enabled, PM 
  1244. Patrol will sound a short audible alarm when event thresholds are exceeded. 
  1245.  
  1246. When you start-up PM Patrol, events will not occur within the first 15 seconds 
  1247. while PM Patrol calibrates itself and initially samples all resources. 
  1248.  
  1249. PM Patrol events include: 
  1250.  
  1251.    1. Battery below ... option will cause PM Patrol to notify you when 
  1252.       remaining battery life drops below the percentage specified. This option 
  1253.       is available only for mobile computer systems with OS/2's Advanced Power 
  1254.       Management. 
  1255.  
  1256.    2. Avg CPU above ... option will cause PM Patrol to notify you when average 
  1257.       CPU exceeds the percentage specified. 
  1258.  
  1259.    3. Virtual RAM below ... option will cause PM Patrol to notify you when 
  1260.       available virtual memory falls below the amount specified. This amount is 
  1261.       represented in terms of Megabytes (MB). 
  1262.  
  1263.    4. Free Swap below  ... option will cause PM Patrol to notify you when 
  1264.       available swap space falls below the percentage specified. 
  1265.  
  1266.    5. Free RAM below  ... option will cause PM Patrol to notify you when 
  1267.       available RAM falls below the percentage specified. This option is not 
  1268.       recommended for use by systems with less than 16 MB of memory. 
  1269.  
  1270.    6. Swap File above... option will cause PM Patrol to notify you when the 
  1271.       OS/2 swap file (SWAPPER.DAT) exceeds the size specified. This size is 
  1272.       specified in terms of megabytes (MB). 
  1273.  
  1274.    7. Drive 1-6 below... option will cause PM Patrol to notify you when free 
  1275.       disk space falls below the amount specified. This amount is represented 
  1276.       in terms of megabytes (MB). The drive to be monitored must be selected in 
  1277.       the list box on the main "Options" dialog. You will not be able to select 
  1278.       event monitoring for the desired drive until this selection is done. 
  1279.  
  1280.  PM Patrol provides three different Notification Methods when event thresholds 
  1281.  are exceeded: 
  1282.  
  1283.    1. The Messages option will cause PM Patrol to notify you in the form of a 
  1284.       brief message when the above events occur. This message is a small pop-up 
  1285.       window that temporarily grabs the foreground for about 3-4 seconds. This 
  1286.       method is rather obtrusive and will visually interupt what your're 
  1287.       currently working on. Each event has a specific message. 
  1288.  
  1289.    2. The Sound Bites option will cause PM Patrol to notify you in the form of 
  1290.       multimedia sound effects when the above events occur. These sounds 
  1291.       require MMPM/2 and are background. 
  1292.  
  1293.    3. The PC Speakers option will cause PM Patrol to notify you in the form of 
  1294.       a short beep when the above events occur. 
  1295.  
  1296.    4. PM Patrol's Data Collection Facility APIs provide a means of real-time 
  1297.       event notification. 
  1298.  
  1299.  The Notification Frequencies allow you set two important setting which allow 
  1300.  you to control how often you are notified once an event threshold is exceeded, 
  1301.  and how long must the threshold be exceeded before notificaton occurs. 
  1302.  
  1303.    1. The Sustained State control informs PM Patrol to wait a certain amount of 
  1304.       time (seconds) while the threshold is exceeded before notifying you via 
  1305.       the methods you have selected. Hence, the threshold has to sustain an 
  1306.       exceeded state for the time you specifiy. 
  1307.  
  1308.    2. The Renotification control allows you to select how often you want to be 
  1309.       notified after the "Sustained State" has occured. Specifying zero will 
  1310.       turn off Renotification. When turned off, you will only be notified once 
  1311.       - when the Sustained State is reached. 
  1312.  
  1313.  The Event Monitor Window collects ALL selected events - even if you have 
  1314.  chosen not to be notified. The last time and the value of the "Sustained 
  1315.  State" of the event are reported in this window. 
  1316.  
  1317.  
  1318. ΓòÉΓòÉΓòÉ 9.2.4. Logger Settings ΓòÉΓòÉΓòÉ
  1319.  
  1320. The following items discuss Logger Settings: 
  1321.  
  1322.    1. The Log Items allows you to select which PM Patrol monitors you would 
  1323.       like to record while logging is active. Once the Logger is active, these 
  1324.       options are inaccessible.  Stop the Logger to change the "Logger 
  1325.       Settings". 
  1326.  
  1327.       Note:  The Process Detail option provides the ability to have PM Patrol 
  1328.       also log process detail information as seen in PM Patrol's Process 
  1329.       Monitor window. This additional detail will list all programs that are 
  1330.       active along with their process ID (PID) and the CPU used per process. 
  1331.       Enabling this will cause the log file size to increase based on the 
  1332.       number of processes actively running. 
  1333.  
  1334.    2. The Log Frequency allows you to select the frequency at which PM Patrol 
  1335.       logs selected monitor items. Valid values are 1 to 60 seconds (1 minute). 
  1336.  
  1337.    3. The Log Duration allows you to select how long (minutes) to perform 
  1338.       logging.  Valid values are 1 minute to 1440 (all day). 
  1339.  
  1340.       Note:  Specifying 1440 minutes enables continuous logging.  With this 
  1341.       enabled, the log files (primary and backup) get "rolled-over" at 
  1342.       midnight. The "Notify when Done" option is ignored when continuous 
  1343.       logging is enabled. 
  1344.  
  1345.       Note:  Worst case disk requirement for all day logging with backup is 16 
  1346.       MB. 1/2 of this when "Backup log File" is not enabled. 
  1347.  
  1348.       Note:  While continuous logging is active, the primary log file can not 
  1349.       be viewed. The backup log file (from the previous day) is always 
  1350.       accessible. 
  1351.  
  1352.    4. The Foreground Color and Background Color push-button items allow you to 
  1353.       select the PM Patrol Status Line colors when logging is active.  The 
  1354.       default colors reverse the foreground and background colors. 
  1355.  
  1356.    5. The Backup Log File causes the primary log file to be backed-up each time 
  1357.       a "Start Log" is initiated.  With this disabled, the primary log file is 
  1358.       overwritten. 
  1359.  
  1360.    6. The Notify When Done option provides the ability to have PM Patrol popup 
  1361.       a message on the OS/2 Desktop when logging has reached it's completion 
  1362.       via the "Log Duration" setting.  This is ignored for "Continuous 
  1363.       Logging". 
  1364.  
  1365.    7. The Path entry field allows you to specify the path location for both 
  1366.       primary and backup log files. 
  1367.  
  1368.       Note:  The primary and backup log files created by PM Patrol are named 
  1369.       "PMPATROL.LOG" for the primary and "PMPATROL.BAK" for the backup log 
  1370.       file. Both the primary and backup log files are ASCII.  Therefore, they 
  1371.       can be viewed and otherwise manipulated using such tools as Rexx, AWK, 
  1372.       and GREP. 
  1373.  
  1374.  The PM Patrol Logger is designed with special consideration for performance 
  1375.  and can be used in a variety of situations: 
  1376.  
  1377.    1. Real-time and time critical. Samples recorded every second. 
  1378.  
  1379.    2. Aggressive. Samples recorded every 2-3 seconds. 
  1380.  
  1381.    3. Casual. Samples recorded every minute. 
  1382.  
  1383.  The Logger buffers output to minimize disk write efforts. Worst case, the 
  1384.  Logger requires 1 physical disk write for every 10 Log records. 
  1385.  
  1386.  Because of the buffering technique used by the Logger, there are no special 
  1387.  performance requirements imposed on the user. However, it is recommended that 
  1388.  "Lazy Write" be enabled in the OS/2 CONFIG.SYS to improve OS/2 overall disk 
  1389.  performance and further minimize the PM Patrol Logging effort. 
  1390.  
  1391.  
  1392. ΓòÉΓòÉΓòÉ 9.2.5. Refresh Settings ΓòÉΓòÉΓòÉ
  1393.  
  1394. The following items discuss Refresh Settings for PM Patrol monitors. When 
  1395. setting these controls, try to stagger them so that each item occurs at a 
  1396. different time. 
  1397.  
  1398. The lower the frequency setting for a given monitor, the more timing-accurate 
  1399. the monitor will be. However, this lower frequency also causes PM Patrol to 
  1400. sample the resource more often thus creating more overhead. For i486 and 
  1401. Pentium based systems, setting these frequencies to minimum values will NOT 
  1402. create adverse effects. CPU overhead for PM Patrol is mimimal. 
  1403.  
  1404. The higher the frequency setting for a given monitor, the less timing-accurate 
  1405. and reliable the monitor will be. However, this higher frequency also reduces 
  1406. PM Patrol overhead for i386 based systems. 
  1407.  
  1408.    1. The Network Monitors refresh setting controls how often (seconds) PM 
  1409.       Patrol samples network presence, I/O statistics, logon, and workstation 
  1410.       status. The Network Monitor window is updated at this frequency as well. 
  1411.  
  1412.    2. The Spool Monitor refresh setting controls how often (seconds) PM Patrol 
  1413.       enumerates the total number of print jobs across all print queues. 
  1414.  
  1415.    3. The Drive Monitors refresh setting controls how often (seconds) PM Patrol 
  1416.       checks what drives are on-line and how much free disk space exists on 
  1417.       each. This does not effect the refresh of the Drives Monitor window which 
  1418.       updates every minute. 
  1419.  
  1420.    4. The Swap Monitor refresh setting controls how often (seconds) PM Patrol 
  1421.       checks how large the OS/2 swapper file is and how much free swapper space 
  1422.       there is. 
  1423.  
  1424.    5. The Activity Monitor refresh setting controls how often (seconds) PM 
  1425.       Patrol refreshes the items in the Activity Monitor window. 
  1426.  
  1427.    6. The Memory Monitors refresh setting controls how often (seconds) PM 
  1428.       Patrol checks free, virtual, and resident memory. The Memory Monitor 
  1429.       window is updated at this frequency as well. 
  1430.  
  1431.    7. The Process Monitors refresh setting controls how often (seconds) PM 
  1432.       Patrol refreshes the Process Monitor window, Process Summary information 
  1433.       in the PM Patrol Status Line, and Process Meter data collection (when 
  1434.       enabled). The other Process Monitor functions do not automatically 
  1435.       refresh and are therefore not subject to this refresh control. 
  1436.  
  1437.    8. The User Defined Monitor refresh setting controls how often (seconds) PM 
  1438.       Patrol refreshes the User Defined Monitor information in PM Patrol's main 
  1439.       Status Line. Using the PM Patrol "DCFUserDefined" API within a C/C++ 
  1440.       program, you can format a monitor buffer of your choice. Refer to the API 
  1441.       description for DCFUserDefined for details. 
  1442.  
  1443.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1444.  active, can be negatively influenced by adjusting the "Process Monitors" 
  1445.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  1446.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  1447.  following, but never lower: 
  1448.  
  1449.    1. 5 seconds for i386 class computers 
  1450.  
  1451.    2. 4 seconds for i486 class computers 
  1452.  
  1453.    3. 3 seconds for Pentium class computers 
  1454.  
  1455.  
  1456. ΓòÉΓòÉΓòÉ 9.2.6. Status Line Font ΓòÉΓòÉΓòÉ
  1457.  
  1458. The Status Line Font option allows you to set the display font for the PM 
  1459. Patrol Status Line window. 
  1460.  
  1461. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  1462.  
  1463. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1464. dragging the font to the PM Patrol Status Line. 
  1465.  
  1466.  
  1467. ΓòÉΓòÉΓòÉ 9.2.7. Status Line Colors ΓòÉΓòÉΓòÉ
  1468.  
  1469. The Status Line Colors option allows you to set the foreground and background 
  1470. colors for the PM Patrol Status Line window. 
  1471.  
  1472. The Color Propagation option informs PM Patrol to use the color settings 
  1473. selected throughout all PM Patrol windows - as opposed to the current OS/2 
  1474. color definitions. 
  1475.  
  1476. Note:  The font of choice for the PM Patrol Status Line is the "System VIO" 
  1477. family. 
  1478.  
  1479. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1480. dragging the font to the PM Patrol Status Line. 
  1481.  
  1482.  
  1483. ΓòÉΓòÉΓòÉ 9.2.8. Security ΓòÉΓòÉΓòÉ
  1484.  
  1485. The Security option allows you to set a password that restricts access to PM 
  1486. Patrol configuration, settings, and monitor items. 
  1487.  
  1488. Simply enter a password and PM Patrol security is enabled. To turn off 
  1489. security, simply remove the password. 
  1490.  
  1491. When enabled, the security will restrict access to: 
  1492.  
  1493.    1. All "Options" dialog functions 
  1494.  
  1495.    2. Changing monitored items from the "Utility" popup menu 
  1496.  
  1497.    3. The Program Settings dialog from the "Utility" popup menu 
  1498.  
  1499.    4. The Scheduler Settings dialog from the "Utility" popup menu 
  1500.  
  1501.    5. PM Patrol Logging functions from the "Utility" popup menu 
  1502.  
  1503.  
  1504. ΓòÉΓòÉΓòÉ 9.3. Exit ΓòÉΓòÉΓòÉ
  1505.  
  1506. This option is used to end the PM Patrol program 
  1507.  
  1508.  
  1509. ΓòÉΓòÉΓòÉ 9.4. Status Line Options ΓòÉΓòÉΓòÉ
  1510.  
  1511. This section describes PM Patrol's Status Line Options and Graphs available in 
  1512. the "Options" window. The descriptions and application of the individual Status 
  1513. Line Monitors are discussed in detail under the on-line help section called 
  1514. "Status Line". 
  1515.  
  1516. Some of these options may be grayed-out and inaccessible if the related monitor 
  1517. is not selected in the Status Line Monitor list-box. 
  1518.  
  1519. The CPU Average option enables or disables the display of the "rolling average" 
  1520. of CPU activity covering the last 1 minute. This option is accessible only when 
  1521. "CPU Monitor" is selected in "Status Line" monitors. 
  1522.  
  1523. The CPU Magnified option enables or disables the display of CPU magnification 
  1524. as setup in the General Settings. This option is accessible only when "CPU 
  1525. Monitor" is selected in "Status Line" monitors and offers the ability to 
  1526. monitor CPU activity at a very granular level. 
  1527.  
  1528. The Float to Top option enables or disables the PM Patrol Status Line being 
  1529. kept as the "topmost" window on the OS/2 desktop and therefore visible all the 
  1530. time. When obscured by another window, the Status Line will "float" to the top 
  1531. of the desktop - but will not be the active window. 
  1532.  
  1533. Note:  Refer to the on-line help section "Trouble Shooting" for idiosyncrasies 
  1534. associated with the "Float to Top" option under OS/2 versions 2.1 and 2.11. 
  1535.  
  1536. The Show Open Files option allows you to include the total number of open files 
  1537. in your OS/2 system as part of the Process Summary monitor. 
  1538.  
  1539. Inverted Real RAM, Virtual RAM, and Swap. By default, PM Patrol shows Swap, 
  1540. Real, and Virtual RAM in terms of "Free" and available resource on the Status 
  1541. Line. These options allow you to "invert" or reverse how the respective monitor 
  1542. and graph is shown on the Status Line to reflect resource taxation similar to 
  1543. PM Patrol's CPU monitor. 
  1544.  
  1545. Note:  This option only effects the PM Patrol Status Line and not other windows 
  1546. within PM Patrol or PM Patrol's Logger. 
  1547.  
  1548. The Show Floppies option enables or disables the display of floppy disk drives 
  1549. in the "Drives On-line" monitor. 
  1550.  
  1551. The Show Seconds option enables or disables PM Patrol displaying current 
  1552. seconds within the Time on the main Status Line. 
  1553.  
  1554. The Show Julian Date option enables or disables PM Patrol displaying the 
  1555. current Julian date (in addition to the normal Gregorian date) on the main 
  1556. Status Line. 
  1557.  
  1558. The Show Decimals option enables or disables PM Patrol displaying the decimal 
  1559. position for several of the Status Line monitors. When disabled, PM Patrol will 
  1560. apply standard rounding across affected values. 
  1561.  
  1562. The Show Compact option enables or disables PM Patrol displaying status 
  1563. information in "compact" form. When enabled, the monitor items on the PM Patrol 
  1564. Status Line have their abbreviations (i.e. "Ram", "Spl") removed thus allowing 
  1565. for more room within the Status Line window. 
  1566.  
  1567. The Show Total INet option instructs PM Patrol to display the total Internet 
  1568. Connect-Time on the Status Line as well as the per-instance connect time. When 
  1569. disabled, PM Patrol will show the current active Internet Connect-Time - upon 
  1570. re-connection, the connect-time will be reset to zero. The total connect time 
  1571. is saved when PM Patrol is shutdown and carried across each invocation of PM 
  1572. Patrol. The Internet Connect-Time is reliable as long as PM Patrol is active 
  1573. and able to monitor when Internet connects occur. 
  1574.  
  1575. The CPU Graph option enables or disables a visually graphic display of CPU 
  1576. activity. This option is accessible only when "CPU Monitor" is selected in 
  1577. "Status Line" monitors. 
  1578.  
  1579. The RAM Graph option enables or disables a visually graphic display of free or 
  1580. used Real RAM. If the "Invert Real RAM" option is selected, this will show used 
  1581. Real RAM. Otherwise, free and available Real RAM is displayed. This option is 
  1582. accessible only when "Real RAM Monitor" is selected in "Status Line" monitors. 
  1583.  
  1584. The Resident RAM Graph option enables ordisables a visually graphic display of 
  1585. current Resident RAM as compared to total physical memory. This option is 
  1586. accessible only when "Resident RAM" is selected in "Status Line" monitors. 
  1587.  
  1588. The Virtual RAM Graph option enables or disables a visually graphic display of 
  1589. free or used Virtual RAM. If the "Invert Virtual RAM" option is selected, this 
  1590. will show used Virtual RAM. Otherwise, free Virtual RAM is displayed. It is 
  1591. accessible only when "Virtual RAM" is selected in "Status Line" monitors. 
  1592.  
  1593. The Swap Graph option enables/disables a visually graphic display of current 
  1594. free or usedswap as compared to the current size of the swap file and is 
  1595. accessible only when "Swap Monitor" is selected in "Status Line" monitors. If 
  1596. the "Invert Swap" option is selected, this will show used Swap. Otherwise, free 
  1597. and available Swap is displayed. 
  1598.  
  1599.  
  1600. ΓòÉΓòÉΓòÉ 9.5. Status Line Monitors ΓòÉΓòÉΓòÉ
  1601.  
  1602. The Status Line Monitors list-box contains all the PM Patrol monitors that you 
  1603. may select for display on the PM Patrol Status Line. 
  1604.  
  1605. Selecting monitor items for the Status Line does NOT imply that these same 
  1606. selected monitors are those which are logged via PM Patrol's Logging facility. 
  1607. The Logging facility contains its own monitor selections and can be customized 
  1608. under the "Logger Settings" dialog. 
  1609.  
  1610. The Status Line is updated immediately when monitors are selected or 
  1611. deselected. 
  1612.  
  1613. These monitor items within the listbox are discussed in detail under the 
  1614. on-line help section called "Status Line". 
  1615.  
  1616.  
  1617. ΓòÉΓòÉΓòÉ 10. Monitors ΓòÉΓòÉΓòÉ
  1618.  
  1619. This section describes various performance monitors of PM Patrol. 
  1620.  
  1621.  
  1622. ΓòÉΓòÉΓòÉ 10.1. Activity Monitor ΓòÉΓòÉΓòÉ
  1623.  
  1624. The Activity Monitor window provides a line-graph view of several OS/2 
  1625. resources. 
  1626.  
  1627.    1. "Free Swap" is a blue line and represents free swapper space. When 
  1628.       enabled, the "Used Swap" graph line is disabled. 
  1629.  
  1630.    2. "Used Swap" is a blue line and represents used swapper space. When 
  1631.       enabled, the "Free Swap" graph line is disabled. Due to the nature and 
  1632.       dynamics of OS/2's method of virtual memory swapping, PM Patrol's 
  1633.       calculation of swap utilization can result in an approximation. 
  1634.  
  1635.    3. "Current CPU" is a yellow line and represents the current CPU 
  1636.       utilization. 
  1637.  
  1638.    4. "Average CPU" is a white line and represents the rolling average CPU 
  1639.       utilization. 
  1640.  
  1641.    5. "Magnified CPU" is a pink line (may be purplish on color depths greater 
  1642.       than 640x480) and represents a magnified CPU utilization. The level of 
  1643.       magnification is specified in "General Settings". By default, this option 
  1644.       is not enabled and is set for 90 percent magnification in General 
  1645.       Settings. This feature of PM Patrol lends itself to high-end i486 and 
  1646.       Pentium based CPUs. Magnification is not reflected in the normal CPU 
  1647.       monitor on the PM Patrol Status Line window. 
  1648.  
  1649.    6. "Free RAM" is a green line and represents memory available for OS/2 and 
  1650.       applications. When enabled, the "Used RAM" graph line is disabled. 
  1651.  
  1652.    7. "Used RAM" is a green line and represents the memory in use by OS/2 and 
  1653.       applications. When enabled, the "Free RAM" graph line is disabled. 
  1654.  
  1655.    8. "Resident RAM" is a cyan line represents resident non-swappable memory 
  1656.       locked by OS/2 or applications. 
  1657.  
  1658.    9. "Swappable RAM" is a red line and represents memory capable of being 
  1659.       swapped-out by OS/2. 
  1660.  
  1661.  This window is refreshed automatically at the frequency as set in the "Refresh 
  1662.  Settings" setting "Activity Monitor". 
  1663.  
  1664.  The following itemizes the mouse button activities for the Activity Monitor. 
  1665.  
  1666.    1. A "Chord-Click" (left and right mouse buttons together) in the Activity 
  1667.       Monitor window will toggle the window title bar on and off. 
  1668.  
  1669.    2. A "Double-Click" with the left button in the Activity Monitor window will 
  1670.       toggle between Maximized and Restore views for the window. This is a 
  1671.       useful feature when the "Hide Title Bar" feature is used. 
  1672.  
  1673.    3. A "Single-Click" with the right button in the Activity Monitor window 
  1674.       will popup a menu allowing you select which line graphs to view and 
  1675.       change window controls ("Hide Title Bar", "Smoothed Lines", and "Float to 
  1676.       Top"). 
  1677.  
  1678.    4. Holding down the right mouse button (button 2), you may drag the Activity 
  1679.       Monitor window to the desired position. 
  1680.  
  1681.  The "Float to Top" option enables or disables the Activity Monitor window 
  1682.  being kept as the "topmost" window on the OS/2 desktop and therefore visible 
  1683.  all the time. 
  1684.  
  1685.  When enabled, the "Smoothed Lines" option will attempt to "fillet" or 
  1686.  smooth-out the line graphs reducing the effect of sharp jagged points. 
  1687.  
  1688.  Note:  "Smoothed Lines" will cause more overhead during refresh. If you have a 
  1689.  slower machine, you should be aware of this. An additional 3-5% more overhead 
  1690.  per refresh is not uncommon - depending on the speed of your computer. 
  1691.  
  1692.  When enabled, the "Sliding Graph" option will maintain a continuous graph that 
  1693.  will slide left 1 point after each refresh, thus filling the entire window 
  1694.  width of the graphing area. Otherwise, the graph lines will be "centered" and 
  1695.  will cause graph lines to restart from the center of the graph window when the 
  1696.  graph lines reach the rightmost edge. 
  1697.  
  1698.  The "Hide Title Bar" option allows the window to be sized to a minimum size 
  1699.  without the window title bar and controls getting in the way. 
  1700.  
  1701.  Accessed from the Activity Monitor popup window, the Legend shows the identity 
  1702.  and color of each monitor line along with the current statistics for each 
  1703.  monitor item. The legend can be configured to start-up automatically when the 
  1704.  Activity Monitor is started by selecting the "Auto-Start Legend" option also 
  1705.  in the popup menu. 
  1706.  
  1707.  Additionally, the "Persistent Legend" causes the legend to be started and 
  1708.  remain visible while the Activity Monitor is in a maximized state. 
  1709.  
  1710.  
  1711. ΓòÉΓòÉΓòÉ 10.2. Process Monitor ΓòÉΓòÉΓòÉ
  1712.  
  1713. The Process Monitor window provides the ability to monitor OS/2 active 
  1714. processes, threads, process and thread priorities, shared memory, DLLs, and CPU 
  1715. use per process. Processes (PIDs) can be "killed" by selecting "Kill" from the 
  1716. "Action" menu. 
  1717.  
  1718. Note:  With all PM Patrol Monitor windows (i.e. Process Monitor, Memory 
  1719. Monitor, and Network Monitor) active and automatically refreshing, may be too 
  1720. much overhead for some slower 386 class computers. Therefore, you may need to 
  1721. use these windows selectively and not continuously. The Process Monitor window 
  1722. will increase PM Patrol's CPU requirements by an additional 1-3 percent 
  1723. depending on your CPU speed. 
  1724.  
  1725. The container control in the Process Monitor window supports right-click popups 
  1726. for quick access to "Action" items and double-click selections. Double-clicking 
  1727. in the Process Monitor window invokes the Thread Monitor for the Process ID 
  1728. selected. 
  1729.  
  1730. The "View" menu item provides options to let you select the desired Process 
  1731. Monitor display and the following detail items: 
  1732.  
  1733.    1. The "Background" option switches the display to include/exclude processes 
  1734.       which are "System" or "Detached" process types or have no Session ID 
  1735.       (SID). This option provides the ability to focus only on "Foreground" 
  1736.       programs active on your system. Foreground programs will include all OS/2 
  1737.       PM, OS/2 character based, and DOS+Windows programs. When background 
  1738.       processes are filtered-out, the Process Monitor window will show the 
  1739.       total CPU used by background processes under the name "Bgnd (n)". Where n 
  1740.       reflects the number of process in the background. 
  1741.  
  1742.    2. The "Idle Time" option switches the display to include/exclude Idle 
  1743.       System time. When applications consume CPU, "Idle System" will decrease. 
  1744.       When your system sits idle, "Idle System" increases. When enabled, idle 
  1745.       CPU will be shown under the name "Idle Time". 
  1746.  
  1747.    3. The "Run-Time" option provides the ability to view the duration for which 
  1748.       a process has been active and running and is only applicable to the 
  1749.       "Process Monitor" window. 
  1750.  
  1751.    4. The "Session Title" option switches the display from executable names to 
  1752.       session names and is applicable to the "Process Monitor" and "Process 
  1753.       Summary" windows only. Some instances will show what appears to be a 
  1754.       duplicate session name. This occurs when one or more processes have the 
  1755.       same OS/2 Group Session/Screen ID. There is NOT always a 1 to 1 
  1756.       relationship between a Process and a Session. 
  1757.  
  1758.       Note:  Not all processes have a Session and will therefore display the 
  1759.       executable name instead. This occurs when the process never had a Session 
  1760.       to begin with, such as a daemon processes ("Detached" or "System" session 
  1761.       types). 
  1762.  
  1763.    5. The "Float to Top" option enables or disables the Process Monitor window 
  1764.       being kept as the "topmost" window on the OS/2 desktop and therefore 
  1765.       visible all the time. When obscured by another window, the Process 
  1766.       Monitor window will "float" to the top of the desktop - but will not be 
  1767.       the active window. 
  1768.  
  1769.       Note:  Refer to the on-line help section "Trouble Shooting" for 
  1770.       idiosyncrasies associated with the "Float to Top" option under OS/2 
  1771.       versions 2.1 and 2.11. 
  1772.  
  1773.  Note:  The Process Monitor window will always attempt to display the Session 
  1774.  Title for DOS/Windows programs. In the event that this can not be 
  1775.  accomplished, the name "dos/win" will be used. 
  1776.  
  1777.  The "Process Meter" option provides an alternative access point for the 
  1778.  Process Meter window and can also be accessed from the PM Patrol Utility 
  1779.  pop-up window. 
  1780.  
  1781.  The data displayed in the Process Monitor window is outlined below. Press 
  1782.  Escape to exit the window and terminate the "Process Monitor" facility. 
  1783.  
  1784.    1. "PID" Process ID (displayed as a hex value) 
  1785.  
  1786.    2. "Type" Session Type of process. Session types are categorized as: 
  1787.  
  1788.         a. "Sys" OS/2 System type processes. 
  1789.  
  1790.         b. "PM " OS/2 Presentation Manager GUI processes. 
  1791.  
  1792.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  1793.            represents Virtual Input/Output. 
  1794.  
  1795.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  1796.            Machine. 
  1797.  
  1798.         e. "Det" OS/2 detached background processes (daemons). 
  1799.  
  1800.    3. "HPri" Identifies the Highest PRIority class for the process across all 
  1801.       threads within the process. Refer to the Thread Monitor section below for 
  1802.       detailed descriptions of priority Classes. 
  1803.  
  1804.    4. "Thd" Number of threads in the process 
  1805.  
  1806.    5. "Run-Time" represents the duration for which a process has been actively 
  1807.       running and has the format "dd hh:mm" where: 
  1808.  
  1809.         a. "dd" is Days 
  1810.  
  1811.         b. "hh" is Hours 
  1812.  
  1813.         c. "mm" is Minutes 
  1814.  
  1815.       Note:  The "Run-Time" of a process is relative to when PM Patrol was 
  1816.       started. If PM Patrol is stopped and then restarted, the "Run-Time" for 
  1817.       processes will reset. It is recommended that PM Patrol be placed in the 
  1818.       OS/2 "Startup" folder so it is automatically started when you boot your 
  1819.       system. As a result, the "Run-Time" values will reflect very accurate 
  1820.       results. 
  1821.  
  1822.    6. "CPU" Amount of Relative CPU time the process (PID) consumed since the 
  1823.       last sample along with a bar-graph representation and percentage of total 
  1824.       CPU load across all processes. This is a "relative" CPU load as compared 
  1825.       to other active OS/2, DOS, and Windows programs. 
  1826.  
  1827.    7. "Process" Name of the executable or session 
  1828.  
  1829.  The data displayed in the Process Summary is outlined below. Press Escape to 
  1830.  exit the window and return to "Process Monitor". 
  1831.  
  1832.    1. "PID" Process ID (displayed as a hex value) 
  1833.  
  1834.    2. "PPID" Parent Process ID (displayed as a hex value) 
  1835.  
  1836.    3. "SID" Session ID (displayed as a hex value) 
  1837.  
  1838.    4. "Type" Session Type of process 
  1839.  
  1840.    5. "HMod" Program Executable module handle (displayed as a hex value) 
  1841.  
  1842.    6. "Thd" Number of threads in the PID 
  1843.  
  1844.    7. "Sem" Number of semaphores used by the PID 
  1845.  
  1846.    8. "DLL" Number of DLL modules used by the PID 
  1847.  
  1848.    9. "Shr" Number of shared memory references used by PID 
  1849.  
  1850.   10. "MMT" Memory Model Type of process (16 or 32 bit) 
  1851.  
  1852.   11. "Process" Name of the executable or session 
  1853.  
  1854.  The data displayed in the Thread Monitor window is for a given PID and is 
  1855.  outlined below. Press Escape to exit the window and return to "Process 
  1856.  Monitor". 
  1857.  
  1858.    1. "TID" Thread ID (displayed as a hex value). 
  1859.  
  1860.    2. "Slot" Slot ID for the TID (displayed as a hex value). 
  1861.  
  1862.    3. "Block ID" Block identifier for a blocked TID (displayed as a hex value). 
  1863.       A thread that is a "Ready" state will typically have a "Block ID" of 
  1864.       zero. 
  1865.  
  1866.    4. "Pri" Current priority for the TID.  This displays both priority Class 
  1867.       along with the current Range priority (display in decimal format) within 
  1868.       the Class. Priority "Ranges" operate within a priority Class and range 
  1869.       from 0 to 31, 0 being the lowest and the "normal" OS/2 default. The Range 
  1870.       provides robust priority control and granularity. Priority Classes are 
  1871.       categorized as: 
  1872.  
  1873.         a. "Idle" for low priority processes which only get CPU when nothing 
  1874.            else is running and the lowest OS/2 priority. 
  1875.  
  1876.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  1877.            will be seen most often. 
  1878.  
  1879.         c. "Fore" for foreground priority processes. This is used for 
  1880.            processes/threads which need to be treated as if they are the 
  1881.            "active" window. Net effect of this class makes the process thread 
  1882.            operate at near time-critical performance. 
  1883.  
  1884.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  1885.            This is used for process threads which require guaranteed 
  1886.            time-slices by OS/2 but the thread's CPU needs are typically very 
  1887.            short. 
  1888.  
  1889.    5. "Sys CPU" Amount of time thread spends in the OS/2 kernel along with the 
  1890.       percent of "Sys CPU" compared to TOTAL "Sys CPU" for all threads in the 
  1891.       same PID. 
  1892.  
  1893.    6. "User CPU" Amount of time application time for the thread along with the 
  1894.       percentage of "User CPU" compared to TOTAL "User CPU" for all threads in 
  1895.       the same PID.  This is relative to other threads getting time slices in 
  1896.       the same PID. 
  1897.  
  1898.    7. "State" Identifies what state the thread is in: Blocked, Frozen, Running, 
  1899.       or Ready. 
  1900.  
  1901.  The data displayed in Shared Memory window has the following attributes: Press 
  1902.  Escape to exit the window and return to "Process Monitor". 
  1903.  
  1904.    1. "HMem" Handle to memory allocation (displayed as a hex value) 
  1905.  
  1906.    2. "Sel" Selector to memory (displayed as a hex value) 
  1907.  
  1908.    3. "Refs" Number of references to the memory 
  1909.  
  1910.    4. "Name" Name of the memory used for obtaining addressability 
  1911.  
  1912.  The data displayed in the Dynamic Link Libs, Device Drivers, and File Systems 
  1913.  are outlined below. Press Escape to exit the window and return to "Process 
  1914.  Monitor". 
  1915.  
  1916.    1. "HMod" Handle to the module (displayed as a hex value) 
  1917.  
  1918.    2. "MMT" Memory Model Type of process (16 or 32 bit) 
  1919.  
  1920.    3. "Refs" Number of references to the module 
  1921.  
  1922.    4. "Name" Name of the module 
  1923.  
  1924.  
  1925. ΓòÉΓòÉΓòÉ 10.3. Process Meter ΓòÉΓòÉΓòÉ
  1926.  
  1927. The Process Meter window provides the ability to monitor process statistics for 
  1928. identifying duration and CPU consumption over a range of time. 
  1929.  
  1930. The "Process Metering" option in the PM Patrol "General Settings" dialog 
  1931. controls when this feature is active or inactive. For slower systems (i386 
  1932. class computers), turn Process Metering off if it is not used. 
  1933.  
  1934. By default, PM Patrol resets the Process Meter data base each time PM Patrol is 
  1935. started. This "Startup" option in PM Patrol's "General Settings" window 
  1936. controls this behavior. To keep PM Patrol from resetting the statistics, turn 
  1937. off the "Reset Process Meter" option. Doing so will cause PM Patrol to retain 
  1938. statistics across each invocation of PM Patrol. 
  1939.  
  1940. At the refresh interval as specified by "Process Monitors" in PM Patrol's 
  1941. "Refresh Settings", PM Patrol quietly collects vital information about active 
  1942. processes running on your system. The data collection algorithm used within the 
  1943. Process Meter facility is highly optimized and based on how frequently programs 
  1944. are used on your system, therefore using minimal CPU effort. 
  1945.  
  1946. All data is obtained by PM Patrol and requires no user input. 
  1947.  
  1948. The "Process Meter" window provides the ability to view several items about 
  1949. your programs over a range of time. This range of time is completely under your 
  1950. control as you have the ability to "Reset" the Process Meter data base any 
  1951. time. 
  1952.  
  1953.    1. Analyze the CPU consumption for each program you run relative to ALL 
  1954.       other programs that have been run since the last time you reset the 
  1955.       statistics. 
  1956.  
  1957.    2. Analyze the execution time used for each program you run relative to ALL 
  1958.       other programs that have been run since the last time you reset the 
  1959.       statistics. 
  1960.  
  1961.    3. Analyze the number of instances a program has been invoked. 
  1962.  
  1963.    4. Analyze the first and most recent date of execution for all processes run 
  1964.       on your OS/2 system. 
  1965.  
  1966.    5. Analyze the process types and priorities for all processes run on your 
  1967.       OS/2 system. 
  1968.  
  1969.    6. Sort in ascending order by process, CPU use, Run-Time, and frequency of 
  1970.       use. 
  1971.  
  1972.         a. Sort by Process sorts the list in alphabetic (ascending) order. 
  1973.  
  1974.         b. Sort by CPU Use sorts the list in descending order (processes 
  1975.            consuming most CPU are listed first). 
  1976.  
  1977.         c. Sort by Run-Time sorts the list in descending order (processes which 
  1978.            run the longest when executed are listed first). 
  1979.  
  1980.         d. Sort by Run-Count sorts the list in descending order (processes 
  1981.            which get run the most often are listed first). 
  1982.  
  1983.  Use the "Refresh" menu option (under "Action") for refreshing the Process 
  1984.  Meter window contents upon your request. PM Patrol will automatically update 
  1985.  this window for you every minute - but not when the Process Meter window is 
  1986.  the current "active" desktop window. This allows you to browse through the 
  1987.  list without being disturbed. 
  1988.  
  1989.  Use the "Reset Data Base" menu option (also under "Action") to initialize PM 
  1990.  Patrol's Process Meter data base. This erases the current list and restarts 
  1991.  the data collection process allowing you to monitor over a new range of time. 
  1992.  
  1993.  The Process Meter data base is maintained entirely by PM Patrol and saved when 
  1994.  PM Patrol is shutdown. The next time you run PM Patrol (typically at the next 
  1995.  OS/2 bootup) the data base is quickly reloaded and monitoring continues where 
  1996.  left off. 
  1997.  
  1998.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1999.  active, can be negatively influenced by adjusting the "Process Monitors" 
  2000.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  2001.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  2002.  following, but never lower: 
  2003.  
  2004.    1. 5 seconds for i386 class computers 
  2005.  
  2006.    2. 4 seconds for i486 class computers 
  2007.  
  2008.    3. 3 seconds for Pentium class computers 
  2009.  
  2010.  The items displayed in the Process Meter window are: 
  2011.  
  2012.    1. "Process" represents the name of the executable 
  2013.  
  2014.    2. "Actual CPU" represents the actual CPU effort the process has used since 
  2015.       the last time the Process Meter was reset and reflects CPU usage only 
  2016.       when the process is active. This is an absolute CPU effort and not 
  2017.       relative to other programs run. Actual CPU tells you how much CPU the 
  2018.       process uses when its run. 
  2019.  
  2020.    3. "Relative CPU" represents the CPU effort the process has used, relative 
  2021.       to other programs used, since the last time the Process Meter was reset. 
  2022.  
  2023.    4. "Run-Time" represents the total amount of execution time for the process, 
  2024.       relative to other programs used, since the last time you performed a 
  2025.       "Reset Data Base". Next to "Run-Time" is the total execution time or 
  2026.       "Duration" for the process since the last "Reset Data Base". The format 
  2027.       displayed identifies Days, Hours, Minutes, and Seconds (Dd Hh:Mm.Ss). 
  2028.  
  2029.    5. "Run-Count" represents the total number of times the process has been 
  2030.       executed relative to other processes. The actual total number of 
  2031.       instances is identified under the heading "Frequency" (abbreviated as 
  2032.       "Freq"). 
  2033.  
  2034.    6. "Type" identifies the session type which are categorized as follows: 
  2035.  
  2036.         a. "Sys" OS/2 System type processes. 
  2037.  
  2038.         b. "PM " OS/2 Presentation Manager GUI processes. 
  2039.  
  2040.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  2041.            represents Virtual Input/Output. 
  2042.  
  2043.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  2044.            Machine. 
  2045.  
  2046.         e. "Det" OS/2 detached background processes (daemons). 
  2047.  
  2048.    7. "HPri" Identifies the Highest PRIority class for the process across all 
  2049.       threads within the process. The range of priority within OS/2 provides 
  2050.       robust priority control and granularity. Priority Classes are categorized 
  2051.       as: 
  2052.  
  2053.         a. "Idle" for low priority processes which only get CPU when nothing 
  2054.            else is running and the lowest OS/2 priority. 
  2055.  
  2056.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  2057.            will be seen most often. 
  2058.  
  2059.         c. "Fore" for foreground priority processes. This is used for 
  2060.            processes/threads which need to be treated as if they are the 
  2061.            "active" window. Net effect of this class makes the process thread 
  2062.            operate at near time-critical performance. 
  2063.  
  2064.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  2065.            This is used for process threads which require guaranteed 
  2066.            time-slices by OS/2 but the thread's CPU needs are typically very 
  2067.            short. 
  2068.  
  2069.    8. "MMT" represents the Memory Model Type of process (16 or 32 bit) 
  2070.  
  2071.    9. "Last Run" represents the last recent date the process was executed. 
  2072.  
  2073.   10. "First Run" represents the first date the process was executed. 
  2074.  
  2075.  Note:  This release of PM Patrol's Process Meter groups together the Run-time 
  2076.  and CPU efforts for all DOS+Win programs and identifies them in the Process 
  2077.  Meter list with a Process name of "DOS/Win". OS/2 command and REXX scripts 
  2078.  (.CMD) are reflected within the Process "cmd" - the actual executable which 
  2079.  supports REXX scripts. 
  2080.  
  2081.  
  2082. ΓòÉΓòÉΓòÉ 10.4. Memory Monitor ΓòÉΓòÉΓòÉ
  2083.  
  2084. The Memory Monitor window provides an optional view of several memory 
  2085. utilization monitors. 
  2086.  
  2087. This window is refreshed automatically at the frequency as set in the "Refresh 
  2088. Settings" setting "Memory Monitors". 
  2089.  
  2090.    1. The RAM Free item identifies current free memory. 
  2091.  
  2092.    2. The RAM Used item identifies current used memory. Combined, these two 
  2093.       items will always reflect 100% of the memory installed in your computer. 
  2094.  
  2095.    3. The Resident item identifies current resident or "fixed" memory which is 
  2096.       not swappable by OS/2. Most of this memory is owned and created by OS/2 
  2097.       and will vary little. 
  2098.  
  2099.    4. The Swappable item identifies current swappable memory and only includes 
  2100.       memory that is in use and not resident (or fixed). Therefore, the sum of 
  2101.       "Resident" and "Swappable" may not always equate to total physical 
  2102.       memory. Any difference can be attributed to free (unused) memory which is 
  2103.       not swapped. 
  2104.  
  2105.    5. The Virtual RAM item identifies current Virtual Memory capacity available 
  2106.       to OS/2. This item factors in available disk space for the drive which 
  2107.       the OS/2 swapper file is located as well as swapper file size. 
  2108.  
  2109.    6. The Swap Growth item identifies how much the swapper file has grown since 
  2110.       system boot. 
  2111.  
  2112.    7. The Swap Free item identifies how much free space remains in the OS/2 
  2113.       swapper file. 
  2114.  
  2115.    8. The Cache Read and Cache Write items identify the cache hit utilization 
  2116.       for HPFS386 and is only displayed when HPFS386 is installed and active. 
  2117.  
  2118.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2119.  Monitor, and Network Monitor) active and automatically refreshing, there may 
  2120.  be too much overhead for some slower 386 class computers. Therefore, you may 
  2121.  need to use these windows selectively and not continuously. 
  2122.  
  2123.  
  2124. ΓòÉΓòÉΓòÉ 10.5. Network Monitor ΓòÉΓòÉΓòÉ
  2125.  
  2126. The Network Monitor window provides an optional view of several LAN network 
  2127. utilization monitors. 
  2128.  
  2129. This window is refreshed automatically at the frequency as set in the "Refresh 
  2130. Settings" setting "Network Monitors". 
  2131.  
  2132. The Network Monitor window is inaccessible and grayed-out in the PM Patrol 
  2133. Utility menu when LAN Server components are not installed on the workstation. 
  2134.  
  2135.    1. The Machine item identifies the workstation ID and does not change unless 
  2136.       the workstation id is changed manually and the system rebooted. 
  2137.  
  2138.    2. The User item identifies the current user logged to the LAN. 
  2139.  
  2140.    3. The Server Id item identifies the server ID that is currently logged on 
  2141.       to by the active user. 
  2142.  
  2143.    4. The Domain item identifies the domain ID that is currently logged on to 
  2144.       by the active user. 
  2145.  
  2146.    5. The Tot In item identifies the total accumulative bytes received by this 
  2147.       workstation from the LAN. The graph identifies "Total In" as compared to 
  2148.       total bytes received AND sent and therefore is a percent of total I/O. 
  2149.  
  2150.    6. The Tot Out item identifies the total accumulative bytes sent by this 
  2151.       workstation to the LAN. The graph identifies "Total Out" as compared to 
  2152.       total bytes received AND sent and therefore is a percent of total I/O. 
  2153.  
  2154.    7. The Bps In item identifies "Bytes Per Second" and is the average number 
  2155.       of bytes RECEIVED via LAN over the last "n" seconds where "n" is the 
  2156.       refresh frequency as set in the "Refresh Settings" setting "Network 
  2157.       Monitors". This offers a "snapshot" view of current average per second 
  2158.       inbound activity from the network. 
  2159.  
  2160.    8. The Bps Out item identifies "Bytes Per Second" and is the average number 
  2161.       of bytes SENT via LAN over the last "n" seconds where "n" is the refresh 
  2162.       frequency as set in the "Refresh Settings" setting "Network Monitors". 
  2163.       This offers a "snapshot" view of current average per second outbound 
  2164.       activity from the network. 
  2165.  
  2166.    9. The Bss In item identifies "Bytes Since last Sample" and is the total 
  2167.       number of bytes received via LAN over the last "n" seconds where "n" is 
  2168.       the refresh frequency as set in the "Refresh Settings". 
  2169.  
  2170.   10. The Bss Out item identifies "Bytes Since last Sample" and is the average 
  2171.       number of bytes sent via LAN over the last "n" seconds where "n" is the 
  2172.       refresh frequency as set in the "Refresh Settings". 
  2173.  
  2174.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2175.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2176.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2177.  use these windows selectively and not continuously. 
  2178.  
  2179.  
  2180. ΓòÉΓòÉΓòÉ 10.6. Port Monitor ΓòÉΓòÉΓòÉ
  2181.  
  2182. The Port Monitor window provides insight and advanced control over LPT parallel 
  2183. ports on your system. 
  2184.  
  2185. This window is refreshed automatically in real-time as events occur for all 
  2186. ports. Refresh occurs when the port is opened, closed, and after every 10 
  2187. packets pass through the port device driver. 
  2188.  
  2189. Using the "Reset" menu option, you can initialize the current statistics for 
  2190. each port. This option will reset all statistics for ALL ports, but will keep 
  2191. the LPT Controls (Pass-thru and Debug) in their current settings. PM Patrol 
  2192. will retain these statistics across each invocation of PM Patrol. It is up to 
  2193. you when you want these statistics initialized. 
  2194.  
  2195. Controlled from the "Spooler" priority object within the OS/2 System Setup 
  2196. folder, printing performance can be fine tuned for print jobs that are sent 
  2197. through the OS/2 spooler. 
  2198.  
  2199. Printing can be monitored via PM Patrol's Port Monitor whether the OS/2 spooler 
  2200. is active or not. 
  2201.  
  2202.    1. The Port item identifies the LPT port. 
  2203.  
  2204.    2. The Jobs item identifies the current total number of jobs having passed 
  2205.       through the LPT port. Technically speaking, "jobs" constitutes each time 
  2206.       the port was opened for I/O. 
  2207.  
  2208.    3. The Rate item identifies the total bytes per second (BPS) that have been 
  2209.       sent and received via the LPT port. This value is very accurate, but can 
  2210.       be influenced greatly if the "Debug" option is enabled. This value 
  2211.       constitutes an average over ACTUAL time (milliseconds) that the port is 
  2212.       open. 
  2213.  
  2214.    4. The Time item identifies the average time (seconds) for print jobs. 
  2215.  
  2216.    5. The Pass item identifies the current status of the Pass-thru option. When 
  2217.       enabled, all I/O is allowed to pass through the LPT device driver. 
  2218.       Otherwise, all I/O is "eaten". This is beneficial when simulation is 
  2219.       required. 
  2220.  
  2221.    6. The Debug item identifies the current state of "Debugging". 
  2222.  
  2223.    7. The Act item identifies whether an active job currently exists on the 
  2224.       port. 
  2225.  
  2226.  Turning on the "Debug" option allows you to monitor and watch each packet sent 
  2227.  to the port via the Debug viewing window. This feature is designed to allow 
  2228.  monitoring of packets via Debug. Using the new Debug facility, individual 
  2229.  packets can be monitored providing "data scope" capability. When Debug is 
  2230.  enabled for a selected LPT port, an artificial delay (1 second) is inserted 
  2231.  between each packet sent to the port. 
  2232.  
  2233.  The "Pass-thru" option allows you to enable/disable data to be passed through 
  2234.  the port. Used primarily for testing purposes, this feature enables the 
  2235.  simulation of port activity without an actual printer be attached. 
  2236.  
  2237.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2238.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2239.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2240.  use these windows selectively and not continuously. 
  2241.  
  2242.  
  2243. ΓòÉΓòÉΓòÉ 10.7. Event Monitor ΓòÉΓòÉΓòÉ
  2244.  
  2245. The Event Monitor window allows you to view the current state of PM Patrol 
  2246. events from a "bird's eye view". 
  2247.  
  2248. The Event items reflect each of the events within PM Patrol. 
  2249.  
  2250. Active represents the current activity state of each event. A check mark will 
  2251. be displayed when the event is active. 
  2252.  
  2253. THold identifies the upper or lower Threshold limit for each event as defined 
  2254. in "Event Settings". This allows you to compare the event state and the 
  2255. threshold limit to exceed. 
  2256.  
  2257. Count identifies the number of times the event occured. This value is 
  2258. incremented each time the event threshold is exceeded the first time, but not 
  2259. upon renotification. 
  2260.  
  2261. Last State and Occurrance identifies the resource "state", date, and time when 
  2262. the event last occured. These values are updated the first time the event 
  2263. occurs and at renotification. 
  2264.  
  2265. Selecting "Reset" from the "Action" menu will allow you to initialize all event 
  2266. statistics. Event statistics are retained and accumulate across each invocation 
  2267. of PM Patrol. It is up to you when you want to reset the event statistics. 
  2268.  
  2269. This window is updated when an event occurs as well as every minute. 
  2270.  
  2271.  
  2272. ΓòÉΓòÉΓòÉ 10.8. Drives Monitor ΓòÉΓòÉΓòÉ
  2273.  
  2274. The Drives Monitor window allows you to view current drive attachments, current 
  2275. assignments (LAN), capacity, and used/free space. 
  2276.  
  2277. For network performance reasons, this window is refreshed automatically every 
  2278. minute on its own and can not be controlled from the "Refresh Settings" 
  2279. options. Use the drop-down menu option "Refresh" (under the "Action" menu) to 
  2280. manually refresh the window yourself. 
  2281.  
  2282. The "Utilization" graph displayed identifies USED space on the drive - not 
  2283. free. 
  2284.  
  2285.  
  2286. ΓòÉΓòÉΓòÉ 10.9. Status Line ΓòÉΓòÉΓòÉ
  2287.  
  2288. This section describes the monitor items that can be displayed on the main PM 
  2289. Patrol Status Line. 
  2290.  
  2291.  
  2292. ΓòÉΓòÉΓòÉ 10.9.1. Current Date ΓòÉΓòÉΓòÉ
  2293.  
  2294. Display of the current date. Selecting the "Show Julian Date" will add the 
  2295. current Julian date to this item. 
  2296.  
  2297.  
  2298. ΓòÉΓòÉΓòÉ 10.9.2. Current Time ΓòÉΓòÉΓòÉ
  2299.  
  2300. Display of the current time with the option of showing seconds as part of the 
  2301. time when "Show Seconds" is selected in the "Options" dialog. 
  2302.  
  2303.  
  2304. ΓòÉΓòÉΓòÉ 10.9.3. System Up-Time ΓòÉΓòÉΓòÉ
  2305.  
  2306. Display the total time that OS/2 has been up and running since last boot. 
  2307.  
  2308. The PM Patrol Status Line display for this monitor will reflect the format "dd 
  2309. hh:mm" representing "days", "hours", and "minutes". 
  2310.  
  2311.  
  2312. ΓòÉΓòÉΓòÉ 10.9.4. INet Connect-Time ΓòÉΓòÉΓòÉ
  2313.  
  2314. Displays the per-instance Internet Connect-Time that the workstation has been 
  2315. connected to the Internet when using a modem. 
  2316.  
  2317. Internet Connect-Time feature requires modem connection using the PPP or SLIP 
  2318. protocols of IBM's Internet Access Kit, or the In-Joy dialer available at 
  2319. http://www.belle.dk/~bj/dialer.html. 
  2320.  
  2321. The PM Patrol Status Line display for this monitor will reflect the format 
  2322. "INet: hh:mm x" representing "hours" and "minutes". The "x" is an indicator to 
  2323. inform you when your connected. A flashing arrow pointing up indicates your're 
  2324. connected. An arrow pointing down indicates your not. 
  2325.  
  2326. Used in conjunction with this feature, the "Show Total INet" option in PM 
  2327. Patrol's Options window will display the ongoing accumulative total of Internet 
  2328. Connect-Time in addition to the per-instance connect-time. 
  2329.  
  2330. This per-instance connect-time will automatically reset to zero when PM Patrol 
  2331. is stopped and then restarted, or when a new INet connection is established. PM 
  2332. Patrol stores the total INet connect-time in PM Patrol's profile. This Total 
  2333. INEt counter can only be reset manually. For manual reset, refer the Utility 
  2334. popup option ("Display" menu item) for "Reset Internet Time". 
  2335.  
  2336. The INet Connect-Time feature of PM Patrol does not apply to TCP/IP connections 
  2337. via a LAN. 
  2338.  
  2339.  
  2340. ΓòÉΓòÉΓòÉ 10.9.5. Keyboard Status ΓòÉΓòÉΓòÉ
  2341.  
  2342. The Keyboard Status displays the status of CapsLock, NumLock, and ScrollLock 
  2343. keyboard settings. 
  2344.  
  2345.  
  2346. ΓòÉΓòÉΓòÉ 10.9.6. Net User ID ΓòÉΓòÉΓòÉ
  2347.  
  2348. When logged-on to a LAN Server, the current "User ID" is displayed. This 
  2349. options requires that IBM LAN Requester network software be installed on the 
  2350. local workstation. 
  2351.  
  2352.  
  2353. ΓòÉΓòÉΓòÉ 10.9.7. Spooler Monitor ΓòÉΓòÉΓòÉ
  2354.  
  2355. This item allows you to monitor print jobs that are in print queues.  This 
  2356. includes print jobs that are Held, Printing, Canceling, and other dispositions. 
  2357. There is two types of monitoring: 
  2358.  
  2359.    1. Display total print jobs across all spooler queues. 
  2360.  
  2361.    2. Display total print jobs per spooler queue. 
  2362.  
  2363.  If you select the "Total all Print Queue" option in General Settings, then the 
  2364.  total print jobs across all queues will be shown. Otherwise, the number of 
  2365.  print jobs for each queue are shown up to a maximum of 8 queues. 
  2366.  
  2367.  The "Total all Queues" option in the "General Settings" switches between the 
  2368.  two modes identifies above. 
  2369.  
  2370.  When logged-on to a LAN Server you can monitor its remote print queues. Refer 
  2371.  to the "General Settings" section for more details. 
  2372.  
  2373.  
  2374. ΓòÉΓòÉΓòÉ 10.9.8. Process Summary ΓòÉΓòÉΓòÉ
  2375.  
  2376. This display item reveals the total current number of OS/2 processes and 
  2377. threads in the system. This includes PIDs and TIDs of any state; Blocked, 
  2378. Running, and Ready. 
  2379.  
  2380. The Process Summary items are displayed as follows; the numbers shown below are 
  2381. examples: 
  2382.  
  2383.    1. "12p" representing 14 active processes (p). 
  2384.  
  2385.    2. "63t" representing 63 active threads (t). 
  2386.  
  2387.    3. "105f" representing 105 open files (f). Open files includes all 
  2388.       executables, data files, INI files, DLLs, WPS objects, and any other type 
  2389.       of file you can think of. 
  2390.  
  2391.  
  2392. ΓòÉΓòÉΓòÉ 10.9.9. Drives On-line ΓòÉΓòÉΓòÉ
  2393.  
  2394. This item displays the current drive letters for available drives accessible 
  2395. from this computer.  Network drives are supported. 
  2396.  
  2397.  
  2398. ΓòÉΓòÉΓòÉ 10.9.10. Drive 1-6 Monitors ΓòÉΓòÉΓòÉ
  2399.  
  2400. Displays the free space (MB) for a selected drive. To select a different drive 
  2401. to monitor you may choose you one of the following methods: 
  2402.  
  2403.    1. Single click the right mouse button on the PM Patrol Status Line and then 
  2404.       select the "Drives" menu item.  Select "Monitor" to choose a drive. 
  2405.  
  2406.    2. Double click the left mouse button on the PM Patrol Status Line to get 
  2407.       the Options dialog.  Then select the "Utility" menu bar item followed by 
  2408.       the "Drives" menu option. 
  2409.  
  2410.  Selected drives will be permanently "remembered" as defaults when changed. 
  2411.  
  2412.  Selected drives will report a "?" when the drive changes "off-line".  This can 
  2413.  occur if the drive is a network drive and the user performs a LOGOFF.  Or, 
  2414.  removing a removable media type such as a floppy diskette. 
  2415.  
  2416.  By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  2417.  through H. This drive mapping can be changed to any desired combination. 
  2418.  
  2419.    1. From the PM Patrol Status Line, right-click the Status Line. 
  2420.  
  2421.    2. Select the "Drives" menu option 
  2422.  
  2423.    3. Then select the "Status Line" option. 
  2424.  
  2425.    4. This will display a menu identifying the current drive mappings assigned. 
  2426.       Select the PM Patrol drive number you wish to change. 
  2427.  
  2428.    5. A mini dialog will popup displaying current drives on-line and 
  2429.       accessible. Choose which drive to map. 
  2430.  
  2431.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  2432.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  2433.  
  2434.    7. This information is saved and remembered by PM Patrol. 
  2435.  
  2436.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  2437.  of the free space for the drive to inform you the drive is off-line. This is 
  2438.  more common when monitoring remote drives on a network. 
  2439.  
  2440.  
  2441. ΓòÉΓòÉΓòÉ 10.9.11. Battery Status ΓòÉΓòÉΓòÉ
  2442.  
  2443. This item informs the user how much battery power is remaining. 
  2444.  
  2445. The OS/2 APM facilities assume the battery to be 100% new. As the battery ages, 
  2446. the original maximum life of the battery diminishes. Especially for NICad 
  2447. batteries. PM Patrol allows you to specify a "new" maximum life. When set at 
  2448. zero, observe the PM Patrol "Bat" percentage. When your computer informs you 
  2449. the battery is dangerously low (usually several short beeps), observe the 
  2450. percentage that PM Patrol reports. This value becomes the new "zero" point. 
  2451. Select this value in the "Battery Calibration" field in the "General Settings" 
  2452. dialog. Repeat this process every 3-4 months to ensure accurate and reliable 
  2453. battery readings. 
  2454.  
  2455. Note:  This option is accessible only if APM is installed via OS/2 and the 
  2456. computer is a mobile computer capable of power management (i.e. 386sl+). 
  2457.  
  2458. When (and if) the battery status is unknown, PM Patrol displays a question mark 
  2459. in replacement of the actual percentage of power remaining. 
  2460.  
  2461.  
  2462. ΓòÉΓòÉΓòÉ 10.9.12. HPFS386 Cache Monitor ΓòÉΓòÉΓòÉ
  2463.  
  2464. PM Patrol will monitor the read/write cache hit ratio for systems running the 
  2465. 32-bit High Performance File System (HPFS386). 
  2466.  
  2467. The read/write percentages are displayed on the PM Patrol Status Line with the 
  2468. abbreviation "Crw". This abbreviation represents "Cache Read Writes", so the 
  2469. first percentage seen is Reads and the second percentage is writes. 
  2470.  
  2471. Note:  This version of PM Patrol only supports the ability to obtain Cache 
  2472. ratios from HPFS386 and not the 16-bit HPFS shipped with OS/2. PM Patrol will 
  2473. display a "?" if HPFS386 Cache Monitoring is selected but not installed/active. 
  2474.  
  2475.  
  2476. ΓòÉΓòÉΓòÉ 10.9.13. Swap Monitor ΓòÉΓòÉΓòÉ
  2477.  
  2478. This display option displays the current size of the OS/2 swapper file. If the 
  2479. "Show Percent" option for this monitor is selected, then the percent of free or 
  2480. used swap space is also displayed. When the "Invert Swap" option is selected, 
  2481. this will show used Swap. Otherwise, free and available Swap is displayed. 
  2482.  
  2483. Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  2484. Patrol's calculation of free swap space is an approximation and may not result 
  2485. in an exact calculation all the time. As compared to all PM Patrol's resource 
  2486. monitors, swap utilization is the only one that may yield approximation. For 
  2487. systems that are memory rich and therefore swap little, monitoring swap 
  2488. utilization may not be necessary. 
  2489.  
  2490.  
  2491. ΓòÉΓòÉΓòÉ 10.9.14. Virtual RAM Monitor ΓòÉΓòÉΓòÉ
  2492.  
  2493. Virtual RAM item identifies current Virtual Memory capacity available to OS/2. 
  2494. This item factors in available disk space for the drive which the OS/2 swapper 
  2495. file is located as well as swapper file size. When the "Invert Virtual RAM" 
  2496. option is selected, this will show used Virtual Memory. Otherwise, free and 
  2497. available Virtual Memory is displayed. If the "Show Percent" option for this 
  2498. monitor is selected, then the percent of free or used Virtual RAM is also 
  2499. displayed. 
  2500.  
  2501.  
  2502. ΓòÉΓòÉΓòÉ 10.9.15. Resident RAM Monitor ΓòÉΓòÉΓòÉ
  2503.  
  2504. The Resident RAM monitor allows you to see OS/2 memory which is non-swappable 
  2505. fixed memory. Typically, this will include OS/2 system memory and any memory 
  2506. allocated by processes which is marked as non-discardable memory. If the "Show 
  2507. Percent" option for this monitor is selected, then the percent of free or used 
  2508. Resident RAM is also displayed. 
  2509.  
  2510.  
  2511. ΓòÉΓòÉΓòÉ 10.9.16. Real RAM Monitor ΓòÉΓòÉΓòÉ
  2512.  
  2513. This displays the amount of free or used RAM (k). When "Show Percent" is 
  2514. selected for this monitor, the percentage of RAM is also displayed. When the 
  2515. "Invert Real RAM" option is selected, Real RAM will be reported as used Real 
  2516. RAM. Otherwise, free and available Real RAM is displayed. 
  2517.  
  2518. Optionally, you can view free or used RAM in bar-graph form by enabling the 
  2519. "RAM Graph" option in the "Quick Configure" section of the "Options" dialog. 
  2520.  
  2521. OS/2 views memory as a flat linear address space and deploys a true Virtual 
  2522. Memory Model. Because of this, calculation of Free Memory is subject to the 
  2523. following constraint. 
  2524.  
  2525. Note:  If your system hardware consists of MORE than 16MB of memory and the 
  2526. hard disk controller is a 16-bit adapter, calculation of Free Memory may not be 
  2527. accurately reported. Use a 32-bit disk controller adapter with more than 16MB 
  2528. RAM. 
  2529.  
  2530.  
  2531. ΓòÉΓòÉΓòÉ 10.9.17. CPU Monitor ΓòÉΓòÉΓòÉ
  2532.  
  2533. PM Patrol monitors the CPU utilization every second. If the "CPU Graph" has 
  2534. been enabled in the Options dialog, then a bar-graph view of CPU usage is 
  2535. displayed in addition to the percentage. 
  2536.  
  2537. Along with the current CPU load, PM Patrol also maintains a rolling average of 
  2538. CPU utilization over 1 minute. This is called the "CPU Average" in PM Patrol. 
  2539.  
  2540.  
  2541. ΓòÉΓòÉΓòÉ 10.9.18. User Defined Monitor ΓòÉΓòÉΓòÉ
  2542.  
  2543. PM Patrol provides a "user defined" monitor to be displayed at the end of the 
  2544. main Status Line and can be logged in the Logging Facility. Using the PM Patrol 
  2545. "DCFUserDefined" API within a C/C++ program, you can format a monitor buffer of 
  2546. your choice. Refer to the API description for DCFUserDefined for details. 
  2547.  
  2548.  
  2549. ΓòÉΓòÉΓòÉ 11. Utility ΓòÉΓòÉΓòÉ
  2550.  
  2551. The Utility section provides a growing number of utility items. This section 
  2552. will, along with monitor items, continue to grow in functionality. 
  2553.  
  2554. The "Utility" menu can be accessed from the PM Patrol "Options" dialog or from 
  2555. the PM Patrol Status Line and clicking the right mouse button. 
  2556.  
  2557.  
  2558. ΓòÉΓòÉΓòÉ 11.1. Logger ΓòÉΓòÉΓòÉ
  2559.  
  2560. The Logger facility provides a robust mechanism for recording all PM Patrol 
  2561. monitors to a file. Once logged, the user can "view" the logged data for 
  2562. further review. 
  2563.  
  2564. Most monitor items can be selected/deselected from being logged in the "Logger 
  2565. Settings" along with several other Logger Options such as duration, frequency, 
  2566. and location of log file(s). 
  2567.  
  2568. The log file is ASCII and able to be further manipulated using tools such as 
  2569. Rexx, AWK, and GREP. A convenient "field separator" (vertical bar=0xb3) is 
  2570. included in the log file for identifying individual fields in the log file 
  2571. record. 
  2572.  
  2573. The PM Patrol Logger is designed with special consideration for performance. 
  2574. When logging, the Logger mechanism requires very little CPU. The PM Patrol 
  2575. Logger can be used in a variety of situations: 
  2576.  
  2577.    1. Real-time and time critical logging with 1 second samples. 
  2578.  
  2579.    2. Casual logging with infrequent (1 per minute) samples 
  2580.  
  2581.  
  2582. ΓòÉΓòÉΓòÉ 11.1.1. Start/Stop ΓòÉΓòÉΓòÉ
  2583.  
  2584. The Start/Stop option start or stops the logging activity. 
  2585.  
  2586.  
  2587. ΓòÉΓòÉΓòÉ 11.1.2. View Primary Log ΓòÉΓòÉΓòÉ
  2588.  
  2589. The View Primary Log option allows you to view the contents of the information 
  2590. recently logged. The Viewer program can be defined in the "General Settings" 
  2591. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2592.  
  2593. The name and location of the primary log file is user settable. This is 
  2594. specified in the "Logger Settings" settings. 
  2595.  
  2596.  
  2597. ΓòÉΓòÉΓòÉ 11.1.3. View Backup Log ΓòÉΓòÉΓòÉ
  2598.  
  2599. The View Backup Log option allows you to view the contents of the information 
  2600. logged previously. If the "backup log" option is not enabled, this option is 
  2601. not accessible. 
  2602.  
  2603. The location of the backup log file is the same as the location for the primary 
  2604. log file as specified in the PM Patrol "Logger Settings". 
  2605.  
  2606. The name of the backup log file name is always "PMPATROL.BAK". 
  2607.  
  2608.  
  2609. ΓòÉΓòÉΓòÉ 11.1.4. Delete All Logs ΓòÉΓòÉΓòÉ
  2610.  
  2611. The Delete All Logs option allows you to delete all PM Patrol log files from 
  2612. disk (if present). This includes the primary and backup log files. 
  2613.  
  2614.  
  2615. ΓòÉΓòÉΓòÉ 11.2. Debug ΓòÉΓòÉΓòÉ
  2616.  
  2617. The Debug facility is a flexible and easy to use real-time Debugger for the 
  2618. software developer that provides debugging capabilities that are impossible for 
  2619. the source-level debugger, easier to use, and often more convenient. 
  2620.  
  2621. Debug is used by the PM Patrol Port Monitor to provide a "data scope" for 
  2622. information being passed through the printer port for LPT1-LPT3. 
  2623.  
  2624. Once logged, the user can "view" the logged data for further review. The log 
  2625. file is ASCII and able to be further manipulated using tools such as Rexx, AWK, 
  2626. and GREP. 
  2627.  
  2628.  
  2629. ΓòÉΓòÉΓòÉ 11.2.1. Start/Stop Debug ΓòÉΓòÉΓòÉ
  2630.  
  2631. The Start/Stop Debug option starts or stops the Debug Facility. 
  2632.  
  2633.  
  2634. ΓòÉΓòÉΓòÉ 11.2.2. Start/Stop Debug Log ΓòÉΓòÉΓòÉ
  2635.  
  2636. Output from the Debug facility is sent to the Debug viewing window. When 
  2637. logging is started, the output also goes to the "DBUG.LOG" file and is 
  2638. immediately viewable. 
  2639.  
  2640. When logging is stopped, the "DBUG.LOG" is closed. The next time logging is 
  2641. started, the "DBUG.LOG" file is backed-up to "DBUG.BAK" and a new "DBUG.LOG" is 
  2642. created. 
  2643.  
  2644.  
  2645. ΓòÉΓòÉΓòÉ 11.2.3. View Primary Log ΓòÉΓòÉΓòÉ
  2646.  
  2647. The View Primary Log option allows you to view the contents of the information 
  2648. recently logged. The Viewer program can be defined in the "General Settings" 
  2649. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2650.  
  2651. The name and location of the Debug log files are constant. Located in the PM 
  2652. Patrol installation directory, log files are named "DBUG.LOG" for the primary 
  2653. and "DBUG.BAK" for the backup log file. 
  2654.  
  2655.  
  2656. ΓòÉΓòÉΓòÉ 11.2.4. View Backup Log ΓòÉΓòÉΓòÉ
  2657.  
  2658. The View Backup Log option allows you to view the contents of the information 
  2659. logged previously. 
  2660.  
  2661.  
  2662. ΓòÉΓòÉΓòÉ 11.2.5. Delete Debug Logs ΓòÉΓòÉΓòÉ
  2663.  
  2664. The Delete Debug Logs option allows you to delete all Debug log files from disk 
  2665. (if present). This includes the primary and backup log files. 
  2666.  
  2667.  
  2668. ΓòÉΓòÉΓòÉ 11.3. Drives ΓòÉΓòÉΓòÉ
  2669.  
  2670. The Drives options provides the ability to switch drives that are on-line and 
  2671. you wish to monitor, format(full and fast), check and view summary information 
  2672. for a particular drive. 
  2673.  
  2674. This is accessed from the PM Patrol "Utility" menu. 
  2675.  
  2676.  
  2677. ΓòÉΓòÉΓòÉ 11.3.1. Status Line ΓòÉΓòÉΓòÉ
  2678.  
  2679. The Status Line option provides the ability to switch drives that are on-line 
  2680. that you may want to monitor on the PM Patrol Status Line. After selecting the 
  2681. drive (1 through 6) to change, the "Drives List" popup allows you to select a 
  2682. drive. 
  2683.  
  2684. After selecting a drive from the "Drive List", the drive appears on the PM 
  2685. Patrol Status Line and is remembered when PM Patrol is ended. 
  2686.  
  2687.  
  2688. ΓòÉΓòÉΓòÉ 11.3.2. Drive Map and Summary ΓòÉΓòÉΓòÉ
  2689.  
  2690. The Drive Map and Summary option provides the ability to view summary, detail, 
  2691. and directory map information for a selected drive. 
  2692.  
  2693. The Drive Summary options displays volume specifics as well as media format and 
  2694. device type. Summary level data displays a wealth of information. 
  2695.  
  2696. The Drive Map option displays a graphical view of directories, size of 
  2697. directories, and distribution of directory sizes relative to total USED space 
  2698. on the file system. 
  2699.  
  2700. The bar-graph is calculated in comparison to the LARGEST size directory found 
  2701. on the drive, while the percentage is calculated in comparison to the total 
  2702. USED space on the drive. 
  2703.  
  2704. Note:  The Drive Map "Bytes" reflects total space USED per directory and 
  2705. includes both Slack bytes and EA bytes of files in the subdirectory - not just 
  2706. the bytes comprising each file. 
  2707.  
  2708.  
  2709. ΓòÉΓòÉΓòÉ 11.4. Spooler ΓòÉΓòÉΓòÉ
  2710.  
  2711. The Spooler options support a variety of Print Spooler utilities such as: 
  2712.  
  2713.    1. Purge all print jobs in a Print Queue (Local or Remote) 
  2714.  
  2715.    2. Release all print jobs in a Print Queue (Local or Remote) 
  2716.  
  2717.    3. Hold all print jobs in a Print Queue (Local or Remote) 
  2718.  
  2719.  If logged on to a LAN Server and signed-on under the LAN Administrator ID, ALL 
  2720.  functions can be performed remotely for any LAN Server and these functions 
  2721.  will affect ALL print jobs for the specified Print Queue. Otherwise, these 
  2722.  functions will be performed for any print jobs OWNED by the current user of 
  2723.  the workstation for the specified Print Queue. 
  2724.  
  2725.  Note:  The "Purge Queue" function deletes ALL print jobs of any state (held, 
  2726.  printing, spooling, or released). 
  2727.  
  2728.  
  2729. ΓòÉΓòÉΓòÉ 11.5. Programs ΓòÉΓòÉΓòÉ
  2730.  
  2731. The Programs option provides quick access to user definable programs. Using the 
  2732. "Program Settings" dialog, you can add up to 45 of your favorite programs. 
  2733.  
  2734.  
  2735. ΓòÉΓòÉΓòÉ 11.5.1. Program Settings ΓòÉΓòÉΓòÉ
  2736.  
  2737. The "Program Settings" dialog allows you to specify: 
  2738.  
  2739.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  2740.       field in order for the entry to appear on the program popup menu. 
  2741.  
  2742.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  2743.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  2744.       in order for the entry to appear on the program popup menu. 
  2745.  
  2746.    3. The "Parameters" field allows you to enter any program parameters that 
  2747.       may be required by the program you want to run. You can have PM Patrol 
  2748.       prompt you for parameters when you launch the program by entering a '?' 
  2749.       as the first character in the "Parameters" field. Place default 
  2750.       parameters after the '?' if desired. This will invoke a dialog box when 
  2751.       you run the program and allow you to enter new parameters. 
  2752.  
  2753.    4. The "Working Directory" informs the program launcher what the default 
  2754.       drive and directory are to be when the program is launched. 
  2755.  
  2756.  The "Resort" button allows you to sort the program list. PM Patrol will 
  2757.  automatically keep the list sorted for you. While your adding programs to the 
  2758.  list in this window, PM Patrol will NOT automatically resort the list while 
  2759.  your're working on it. Therefore, this "Resort" button gives you the option as 
  2760.  to when you want to see it resorted. When you close this window, the list is 
  2761.  automatically resorted for you. 
  2762.  
  2763.  The "Session" group allows you to further control HOW you wish to run the 
  2764.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  2765.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  2766.  
  2767.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  2768.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2769.  
  2770.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  2771.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2772.  
  2773.  The "Window" group allows you to start the program in a minimized state. 
  2774.  Additionally, you can select "Display existing window" to control the behavior 
  2775.  when you run the program again.  All programs are run in the "Foreground". 
  2776.  With this enabled, PM Patrol will only allow 1 instance of the program to run 
  2777.  and make the active instance of the program the foreground session. Otherwise, 
  2778.  a new and separate session is started. 
  2779.  
  2780.  The "Priority" group allows you advanced process control over a program's OS/2 
  2781.  priority. This includes both priority "Class" as well as the priority "Range" 
  2782.  within the Class. 
  2783.  
  2784.  Within the "Class" control, you can select 1 of 4 different classes: 
  2785.  
  2786.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  2787.       should typically be used for most programs. If your're unsure of the 
  2788.       Class setting, use "Regular". 
  2789.  
  2790.    2. "Idle" class indicates that a program should only execute when nothing 
  2791.       else is running. Typically used for carefree background processes. 
  2792.  
  2793.    3. "Foreground" class indicates that a program should execute at a 
  2794.       fixed-high priority, but below time critical as if it were the "active" 
  2795.       window. Net effect of this class makes the process operate at near 
  2796.       time-critical performance. 
  2797.  
  2798.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  2799.       Understand that selecting this may cause other programs running to 
  2800.       execute slower. 
  2801.  
  2802.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  2803.  different Range priority levels within each Class. 
  2804.  
  2805.    1. "Regular" Range identifies the "normal" and default priority setting 
  2806.       within the Class selected. This should typically be used for most 
  2807.       programs and is the default. If you are unsure of the Range setting, use 
  2808.       "Regular". 
  2809.  
  2810.    2. "Low" Range identifies the lowest possible priority setting within the 
  2811.       Class selected. Low and Regular have identical effects. This was chosen 
  2812.       by design to avoid confusion as to what was a "normal" Range setting. 
  2813.  
  2814.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  2815.       High Ranges. 
  2816.  
  2817.    4. "High" Range indicates the highest possible priority within the class 
  2818.       selected. 
  2819.  
  2820.  Note:  Use "Regular" for both Class and Range settings when the priority 
  2821.  requirement of the process is unknown; this should be used as the default in 
  2822.  all situations. You should rarely (if ever) set the priority combination to 
  2823.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  2824.  to its knees for a very CPU bound program. 
  2825.  
  2826.  Note:  Once launched, a program can change its own priority Class and Range 
  2827.  settings. This means that PM Patrol sets the program's "default" priorities 
  2828.  with those that you select, but does not control it after the program has been 
  2829.  launched. A good example of this is running Windows programs. The Win-OS/2 
  2830.  environment will typically change the priority to "Regular" for both Class and 
  2831.  Range. 
  2832.  
  2833.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  2834.  highlighted program in the "Program List". To change an existing program's 
  2835.  properties, simply select the program in the list, then change the desired 
  2836.  fields for the program. Changes are immediate. 
  2837.  
  2838.  Alternately, you can click the right mouse button while the mouse pointer is 
  2839.  positioned over the "Program List" to get a quick access popup menu to the 
  2840.  actions. 
  2841.  
  2842.  
  2843. ΓòÉΓòÉΓòÉ 11.6. Desktop ΓòÉΓòÉΓòÉ
  2844.  
  2845. The System Setup option opens the OS/2 WorkPlace Shell "System Setup" folder 
  2846. object. 
  2847.  
  2848. The System Startup option opens the OS/2 WorkPlace Shell "Startup" folder 
  2849. object. 
  2850.  
  2851. The Tools option opens the OS/2 WorkPlace Shell "Main" folder for an assortment 
  2852. of OS/2 tools. 
  2853.  
  2854. The Games option opens the OS/2 WorkPlace Shell "Games" folder for an 
  2855. assortment of OS/2 games. 
  2856.  
  2857. The Drives option opens the OS/2 WorkPlace Shell "Drives" folder for disk 
  2858. utilities. 
  2859.  
  2860. The LaunchPad option opens the OS/2 WorkPlace Shell LaunchPad object. 
  2861.  
  2862. The Minimized option opens the OS/2 WorkPlace Shell "Minimized" folder object. 
  2863.  
  2864. The Templates option opens the OS/2 WorkPlace Shell "Templates" folder object. 
  2865.  
  2866. The Information option opens the OS/2 WorkPlace Shell "Information" folder for 
  2867. an assortment of books. 
  2868.  
  2869. The Command Prompts option opens the OS/2 WorkPlace Shell "Command Prompts" 
  2870. folder for an assortment of OS/2 command windows. 
  2871.  
  2872. The Font Palette option opens this OS/2 WorkPlace Shell palette 
  2873.  
  2874. The Color Palette option opens this OS/2 WorkPlace Shell palette 
  2875.  
  2876. The Minimize Windows option minimizes all visible windows on the OS/2 desktop. 
  2877. Convenient for periodically "clearing" the desktop when too many windows are 
  2878. active. 
  2879.  
  2880. The Restart Desktop option allows you to restart your OS/2 desktop and 
  2881. optionally specify a different set of OS/2 INI files to use. This option is 
  2882. particularly useful in network environments where individuals move from 
  2883. workstation to workstation and wish to inherit their "desktop personality" on a 
  2884. different PC. The "Defaults" option is designed to facilitate the the process 
  2885. of quickly switching back to the local workstation's default INI files. The 
  2886. "Restart Desktop" is unavailable when PM Patrol is started in "Secured" mode. 
  2887.  
  2888. Note:  Be aware that on some multimedia enabled systems, restarting the OS/2 
  2889. desktop may temporarily disable multimedia (MMPM/2). 
  2890.  
  2891. The Restore Windows option restores all minimized windows in the OS/2 Task 
  2892. Window or Minimized Folder to the OS/2 desktop. 
  2893.  
  2894. The Close All Folders option quickly closes all open OS/2 desktop folders. 
  2895. Convenient for periodically "clearing" the desktop when too many windows are 
  2896. active. 
  2897.  
  2898. The PM Patrol Shutdown option is an alternate way to shutdown PM Patrol 
  2899. quickly. This option will only appear in the Utility Popup menu when invoked 
  2900. from the PM Patrol Status Line. When selected, this will shutdown PM Patrol 
  2901. quickly and without confirmation. If PM Patrol is started in "Secured Mode 
  2902. (-S)", this option is not available and will not appear in the menu. If the PM 
  2903. Patrol Password is set, then you will be prompted to enter the correct password 
  2904. before PM Patrol is shutdown. 
  2905.  
  2906. The Normal OS/2 Shutdown option is an alternate way to perform a normal OS/2 
  2907. shutdown. If the PM Patrol Password is set, then you will be prompted to enter 
  2908. the correct password before a shutdown is granted. 
  2909.  
  2910. The Forced OS/2 Shutdown option is used when the normal OS/2 shutdown procedure 
  2911. is unresponsive and will shutdown OS/2 active file systems. This should be used 
  2912. as a last resort. If the PM Patrol Password is set, then you will be prompted 
  2913. to enter the correct password before a forced shutdown is granted. 
  2914.  
  2915. Note:  This forces a proper OS/2 shutdown for all active file systems and open 
  2916. files, but does not perform a WorkPlace Shell shutdown. Any recent changes to 
  2917. the OS/2 desktop since the last normal OS/2 shutdown may not be saved. 
  2918.  
  2919.  
  2920. ΓòÉΓòÉΓòÉ 11.7. Display ΓòÉΓòÉΓòÉ
  2921.  
  2922. The Open Monitor Windows option opens and activates all PM Patrol Monitor 
  2923. windows including Process Monitor, Memory Monitor, and Network Monitor. This 
  2924. provides quick access to these popular monitor windows of PM Patrol. 
  2925.  
  2926. The Close Monitor Windows option closes all PM Patrol Monitor windows including 
  2927. Process Monitor, Memory Monitor, and Network Monitor. 
  2928.  
  2929. The Suspend Status Line option freezes the Status Line display until you Resume 
  2930. the display. 
  2931.  
  2932. The Hide Status Line option hides the Status Line display until you re-select 
  2933. it from the OS/2 Window List. While hidden, all active PM Patrol operations 
  2934. continue unless the display has been "suspended". This option is convenient for 
  2935. those who wish to temporarily view the desktop window below PM Patrol or for 
  2936. security purposes. 
  2937.  
  2938. The Refresh Status Line option immediately forces PM Patrol to re-sample and 
  2939. refresh all items being monitored on the PM Patrol main Status Line. 
  2940.  
  2941. The Reset Internet Time option allows you to reset the Internet Connect-Time to 
  2942. zero. This can be useful for tracking and costing Internet access. 
  2943.  
  2944.  
  2945. ΓòÉΓòÉΓòÉ 11.8. Utilities ΓòÉΓòÉΓòÉ
  2946.  
  2947. This menu contains several additional utilities that are always 1 click away 
  2948.  
  2949.  
  2950. ΓòÉΓòÉΓòÉ 11.8.1. Sleep Now ΓòÉΓòÉΓòÉ
  2951.  
  2952. The Sleep Now option places the mobile computer (SL chips) into suspend mode. 
  2953. This option is accessible only when APM (Advanced Power Management) is 
  2954. installed and the user is not logged-on to the LAN Server for workstations 
  2955. connected to a LAN Server network. Refer to the OS/2 Installation Guide for APM 
  2956. details. 
  2957.  
  2958.  
  2959. ΓòÉΓòÉΓòÉ 11.8.2. Fast Find ΓòÉΓòÉΓòÉ
  2960.  
  2961. The Fast Find option provides a way to find files on a particular disk drive. A 
  2962. number of search constraints are available such as finding 32-bit, open files, 
  2963. and files with a combination of attributes set (Read Only, Hidden, etc.). 
  2964.  
  2965. Enter the desired drive and file/pattern to search for. Click "Find" (or Enter] 
  2966. to begin the search. Click "Stop" to cancel the search. Select "All Drives" to 
  2967. search for files across all drives currently on-line. 
  2968.  
  2969. Note:  Refer to the "FF" command line utility also shipped with PM Patrol for 
  2970. searching and collecting files from the command line. 
  2971.  
  2972. Note:  Refer to the "FDUPS" command line utility also shipped with PM Patrol 
  2973. for searching and collecting files that are duplicate from the command line. 
  2974.  
  2975. The container control in the Fast Find window supports right-click popups for 
  2976. quick access to "Action" items and double-click selections. 
  2977.  
  2978. Double-clicking in the Fast Find window invokes "Edit", "View", or "Execute" 
  2979. options for the item selected. If the item is a multimedia WAV file, the WAV 
  2980. file is played. 
  2981.  
  2982. The "Last Write" and "Last Access" days allow you to specify a number of days 
  2983. that the file must meet or exceed (>=) for the Fast Find facility to collect. 
  2984. This is advantageous when searching for inactive files for LAN administration. 
  2985.  
  2986. Note:  The "Last Access" date is only applicable to file systems that support 
  2987. this attribute, such as HPFS. FAT does NOT support this file system attribute 
  2988. and therefore use of "Last Access" days should be avoided. 
  2989.  
  2990. The "File Size" field provides that ability to narrow the search and look for 
  2991. files where the file size meets or exceeds a given size. This size is specified 
  2992. in terms of Kilobytes (KB). For example, If your're searching for files greater 
  2993. than or equal to 512K, then enter 512. 
  2994.  
  2995. Additional search criteria allows you to narrow the search for: 
  2996.  
  2997.    1. "OS2/Win" files. These are files that are OS/2 PM and Windows files using 
  2998.       Win API calls. Files include *.DLL, *.EXE, *.SYS and more. 
  2999.  
  3000.    2. "32-Bit" files.  These are files that are 32-bit OS/2 files. Files 
  3001.       include *.EXE, *.DLL, *.SYS, and more. 
  3002.  
  3003.    3. "Opened" files.  These are files that are currently open and in use by 
  3004.       other OS/2, DOS, or Windows programs. 
  3005.  
  3006.    4. "DOS" files.  These are files that DOS only files and include *.EXE, 
  3007.       *.COM, and more. 
  3008.  
  3009.       Note:  Searching for files with the above specified attributes causes 
  3010.       overhead and should be used selectively. Searching for "Opened" files 
  3011.       causes considerable overhead and could take several minutes to complete 
  3012.       the search. 
  3013.  
  3014.  Also provided is the ability to restrict the search to finding only files with 
  3015.  particular file attributes. Such as Hidden, Read-Only, and more.  Selecting 
  3016.  these items causes a "RESTRICTIVE" search - not "INCLUSIVE". 
  3017.  
  3018.  You can customize the display items (file slack size, file EA size, last write 
  3019.  and access dates) in the "View" menu option. These settings will be saved 
  3020.  automatically when PM Patrol is shutdown. 
  3021.  
  3022.  There are several "Action" items that are provided. These include the ability 
  3023.  to "Edit", "View", and "Delete" files that are selected. To select items, 
  3024.  simply single click the item or "Select All" items in the list. Be careful of 
  3025.  the "Delete" option. It works well - even if the file is marked as read-only, 
  3026.  the files will be deleted. A popup message box is displayed to confirm your 
  3027.  "Delete" request. 
  3028.  
  3029.  The "File" and "Edit" options operate the same way as in the "Process 
  3030.  Monitor","Drives Monitor", System Info" windows, and all others. These options 
  3031.  allow you to copy/append to the clipboard, save list to a file, or print list 
  3032.  to a printer. 
  3033.  
  3034.  The Fast Find facility allows you to specify that search operations should 
  3035.  always run at a low priority - only when there is little OS/2 activity. This 
  3036.  can be specified in the "General Settings" setup and may be desirable for LAN 
  3037.  administration functions. This is identified by "Idle Time Searches". 
  3038.  
  3039.  
  3040. ΓòÉΓòÉΓòÉ 11.8.3. Fast Help ΓòÉΓòÉΓòÉ
  3041.  
  3042. The Fast Help option provides very fast access to a complete list of OS/2 
  3043. Information (.INF) and Help (.HLP), and DOS+Windows (.HLP) files that are 
  3044. on-line and available for viewing. 
  3045.  
  3046. Accessed from the PM Patrol Utility menu, the Fast Help feature creates a "Help 
  3047. Data Base" the first time it's accessed. Stored where PM Patrol is installed, 
  3048. the help data base refresh can take a minute to build. 
  3049.  
  3050. Subsequent invocations of the Fast Help window do not auto-refresh the help 
  3051. data base. It is up to you when you wish to refresh the data base. PM Patrol 
  3052. searches ALL drives on-line when refreshing the help data base. 
  3053.  
  3054. Via the "View" menu item, you can filter-out duplicate help files to make 
  3055. navigating the list a bit easier. 
  3056.  
  3057. To view a on-line help file, simply double click on the file in the list. 
  3058. DOS+Windows help files are always viewed seamlessly on the OS/2 desktop. 
  3059.  
  3060. The "Filter" options operate in the following manners: 
  3061.  
  3062.    1. The "Filter Duplicates" removes duplicate help files from the window 
  3063.       list. As a result, only unique help files are displayed. 
  3064.  
  3065.    2. The "Filter OS/2 Files" removes OS/2 specific help files (both .INF and 
  3066.       .HLP) from the window list. As a result, only DOS+Windows help files are 
  3067.       displayed. 
  3068.  
  3069.    3. The "Filter Win Files" removes DOS+Windows specific help files (.HLP) 
  3070.       from the window list. As a result, only OS/2 help files are displayed. 
  3071.  
  3072.  Note:  Limitation with OS/2 .HLP help files. Due to the nature of OS/2 .HLP 
  3073.  help files, only one of these help files can be viewed at a time through PM 
  3074.  Patrol's Fast Help facility. If another .HLP help file is selected, the 
  3075.  previous .HLP help file will be closed down. There are no limitations with 
  3076.  OS/2 .INF or DOS+Windows .HLP help files. 
  3077.  
  3078.  
  3079. ΓòÉΓòÉΓòÉ 11.8.4. System Info ΓòÉΓòÉΓòÉ
  3080.  
  3081. The System Info displays 3 basic types of information: 
  3082.  
  3083.    1. OS/2 System information displays the basic configuration of OS/2 and the 
  3084.       hardware present on your system. Many of the items are static and don't 
  3085.       change while OS/2 is operating. Many of these items are modifiable in the 
  3086.       CONFIG.SYS. Refer to OS/2 help for more detail. 
  3087.  
  3088.    2. Presentation Manager colors. These can be modified via the "Color 
  3089.       Palette" in the OS/2 "System" folder. 
  3090.  
  3091.    3. Presentation Manager information displays items specific to PM. Many of 
  3092.       these can be modified in the "Setup" folder of the WorkPlace Shell. 
  3093.  
  3094.  
  3095. ΓòÉΓòÉΓòÉ 11.8.5. Scheduler ΓòÉΓòÉΓòÉ
  3096.  
  3097. The Scheduler option provides quick access to user definable programs that are 
  3098. to be run at specified times. Using the "Scheduler Settings" dialog, you can 
  3099. add up to 128 of programs to run at specified times. 
  3100.  
  3101. Similar in function to the UNIX CRON utility, the "Scheduler" provides the 
  3102. ability to run any program at user specified days and times. 
  3103.  
  3104. The "Scheduler Settings" dialog allows you to specify: 
  3105.  
  3106.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  3107.       field in order for the entry to appear on the program popup menu. 
  3108.  
  3109.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  3110.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  3111.       in order for the entry to appear on the program popup menu. 
  3112.  
  3113.    3. The "Parameters" field allows you to enter any program parameters that 
  3114.       may be required by the program you want to run. You can have PM Patrol 
  3115.       prompt you for parameters when the scheduler launches the program by 
  3116.       entering a '?' as the first character in the "Parameters" field. Place 
  3117.       default parameters after the '?' if desired. This will invoke a dialog 
  3118.       box when the program is scheduled to run and allow you to enter new 
  3119.       parameters. 
  3120.  
  3121.    4. The "Working Directory" informs the scheduler what the default drive and 
  3122.       directory are to be when the program gets launched. 
  3123.  
  3124.  The "Resort" button allows you to sort the program list. PM Patrol will 
  3125.  automatically keep the list sorted for you. While your adding programs to the 
  3126.  list in this window, PM Patrol will NOT automatically resort the list while 
  3127.  your're working on it. Therefore, this "Resort" button gives you the option as 
  3128.  to when you want to see it resorted. When you close this window, the list is 
  3129.  automatically resorted for you. 
  3130.  
  3131.  The "Session" group allows you to further control HOW you wish to run the 
  3132.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  3133.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  3134.  
  3135.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  3136.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  3137.  
  3138.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  3139.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  3140.  
  3141.  The "Window" group allows you to start the program in a minimized state. Some 
  3142.  programs may resist the minimized state when their invoked. 
  3143.  
  3144.  The "Activate Program" option allows you to indicate that the Scheduled Entry 
  3145.  is "active" or "inactive". The program will only get launched when this is 
  3146.  selected. 
  3147.  
  3148.  The "Priority" group allows you advanced process control over a program's OS/2 
  3149.  priority. This includes both priority "Class" as well as the priority "Range" 
  3150.  within the Class. 
  3151.  
  3152.  Within the "Class" control, you can select 1 of 4 different classes: 
  3153.  
  3154.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  3155.       should typically be used for most programs. If your're unsure of the 
  3156.       Class setting, use "Regular". 
  3157.  
  3158.    2. "Idle" class indicates that a program should only execute when nothing 
  3159.       else is running. Typically used for carefree background processes. 
  3160.  
  3161.    3. "Foreground" class indicates that a program should execute at a 
  3162.       fixed-high priority, but below time critical as if it were the "active" 
  3163.       window. Net effect of this class makes the process operate at near 
  3164.       time-critical performance. 
  3165.  
  3166.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  3167.       Understand that selecting this may cause other programs running to 
  3168.       execute slower. 
  3169.  
  3170.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  3171.  different Range priority levels within each Class. 
  3172.  
  3173.    1. "Regular" Range identifies the "normal" and default priority setting 
  3174.       within the Class selected. This should typically be used for most 
  3175.       programs and is the default. If you are unsure of the Range setting, use 
  3176.       "Regular". 
  3177.  
  3178.    2. "Low" Range identifies the lowest possible priority setting within the 
  3179.       Class selected. Low and Regular have identical effects. This was chosen 
  3180.       by design to avoid confusion as to what was a "normal" Range setting. 
  3181.  
  3182.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  3183.       High Ranges. 
  3184.  
  3185.    4. "High" Range indicates the highest possible priority within the class 
  3186.       selected. 
  3187.  
  3188.  Note:  Use "Regular" for both Class and Range settings when the priority 
  3189.  requirement of the process is unknown; this should be used as the default in 
  3190.  all situations. You should rarely (if ever) set the priority combination to 
  3191.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  3192.  to its knees for a very CPU bound program. 
  3193.  
  3194.  Note:  Once launched, a program can change its own priority Class and Range 
  3195.  settings. This means that PM Patrol sets the program's "default" priorities 
  3196.  with those that you select, but does not control it after the program has been 
  3197.  launched. A good example of this is running Windows programs. The Win-OS/2 
  3198.  environment will typically change the priority to "Regular" for both Class and 
  3199.  Range. 
  3200.  
  3201.  The "Schedule" group provides you the ability to specify the time the program 
  3202.  is to be launched. All programs are launched in the "background" and NOT the 
  3203.  foreground session. 
  3204.  
  3205.  The time to launch can be specified by selecting the desired Month, Week Day, 
  3206.  Hour, and Minute.  Event time permutations are as follows: 
  3207.  
  3208.    1. Month: provides "Every" month or a specified month (January through 
  3209.       December). 
  3210.  
  3211.    2. Week Day: provides "Every" day, specified day (Sunday through Saturday), 
  3212.       weekdays (Monday through Friday), or weekends (Saturday and Sunday). 
  3213.  
  3214.    3. Hour: provides "Every" hour or a specified hour (12:00 AM through 11:00 
  3215.       PM). 
  3216.  
  3217.    4. Minute: provides "Every" minute or a specified minute (0 through 59). 
  3218.  
  3219.  The "Termination" option allows you specify a scheduled job or program to be 
  3220.  terminated after a specified duration of time (hours and minutes). When hours 
  3221.  and minutes are set to zero, the default, the program will not be terminated 
  3222.  by PM Patrol. Hours specifies the number of hours that must elapse before 
  3223.  termination. You may specify zero, or a value between 1 and 168 (1 week). Mins 
  3224.  specifies the number of minutes that must elapse before termination. You may 
  3225.  specify zero, or a value between 1 and 59.  Termination of a process is done 
  3226.  with extreem prejaduce; the program is "killed" without a graceful shutdown. 
  3227.  For some programs, this is not a problem. A DBug is generated when a process 
  3228.  is started or terminated in PM Patrol. You may use the DBug facility built 
  3229.  into PM Patrol for monitoring and logging Scheduler events. 
  3230.  
  3231.  Note:  Accuracy of when the actual termination occurs can vary by as much as 
  3232.  15 seconds and is directly depandant on the Refresh Settings for Process 
  3233.  Monitors. This varience will never be less than the scheduled termination - 
  3234.  only more. The termination settings can be adjusted after the program has been 
  3235.  launched. Be careful when adjusting the system time while Scheduled programs 
  3236.  are active which have a termination time. Be aware, adjusting the system time 
  3237.  backwards (losing time) will cause the program to terminate sooner. 
  3238.  
  3239.  Note:  The "Prcess Metering" option in PM Patrol (found in General Settings) 
  3240.  MUST be enabled for "Termination" functionality of the Scheduler. If you have 
  3241.  Scheduled programs that have a specified termination, be sure to enable the 
  3242.  Process Metering option. 
  3243.  
  3244.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  3245.  highlighted program in the "Program List". To change an existing program's 
  3246.  properties, simply select the program in the list, then change the desired 
  3247.  fields for the program. Changes are immediate. 
  3248.  
  3249.  Alternately, you can click the right mouse button while the mouse pointer is 
  3250.  positioned over the "Program List" to get a quick access popup menu to the 
  3251.  actions. 
  3252.  
  3253.  
  3254. ΓòÉΓòÉΓòÉ 11.8.6. WorkPlace Classes ΓòÉΓòÉΓòÉ
  3255.  
  3256. The WorkPlace Classes option provides quick access to all registered WorkPlace 
  3257. Shell class objects and provides the ability to register new classes or 
  3258. deregister classes no longer needed. 
  3259.  
  3260. Note:  Typically used by developers, this facility should be used with caution. 
  3261. DO NOT deregister classes without careful consideration. Deleting some classes 
  3262. may render your OS/2 WorkPlace shell inoperable. 
  3263.  
  3264. The "Class Name" represents the object class name as registered and known by 
  3265. the OS/2 WorkPlace Shell. 
  3266.  
  3267. The "Module Name" represents the DLL or SOM library which contains the object 
  3268. methods associated with the class. 
  3269.  
  3270. To deregister a class, simply highlight the class name from the list and select 
  3271. the "Deregister Class" option in the "Action" menu. 
  3272.  
  3273. Likewise, to register a new class to the WorkPlace shell, select "Register 
  3274. Class" from this same menu. Enter the new class name and library module. The 
  3275. Library module must be a fully qualified drive, path, and file name of the DLL. 
  3276.  
  3277.  
  3278. ΓòÉΓòÉΓòÉ 11.8.7. Fast Format ΓòÉΓòÉΓòÉ
  3279.  
  3280. Fast Format performs a very fast format for diskettes (drives A or B) that are 
  3281. ALREADY formatted. This is much faster, and easier, than manually deleting 
  3282. files off a diskette or reformatting. You'll be surprised how often this proves 
  3283. useful.  This option will work on all diskette types (720KB, 1.44MB, and 
  3284. 2.88MB). 
  3285.  
  3286. In order to support all current and future read/writable media types (and 
  3287. extended attributes), PM Patrol employs a Fast Format method that is affected 
  3288. by the number of preexisting files on the disk media. The more files on the 
  3289. disk, the longer it may take to complete the Fast format. The Fast Format 
  3290. operation usually takes several seconds. Since the Fast Format allows 
  3291. concurrent access to the disk while formatting, files or directories that are 
  3292. open will not be removed. 
  3293.  
  3294. Only logical drives A and B are currently supported. 
  3295.  
  3296. Fast Format also allows you to specify a new volume label name. 
  3297.  
  3298.  
  3299. ΓòÉΓòÉΓòÉ 11.9. Command Line Utilities ΓòÉΓòÉΓòÉ
  3300.  
  3301. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  3302. utilities complement the PM Patrol personality. 
  3303.  
  3304.  
  3305. ΓòÉΓòÉΓòÉ 11.9.1. FF (Find Files) ΓòÉΓòÉΓòÉ
  3306.  
  3307. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3308. option was selected at PM Patrol installation, then this utility is installed 
  3309. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3310. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3311. of the PATH statement. 
  3312.  
  3313. It provides the same functionality and features as the "Fast Find" facility of 
  3314. PM Patrol. FF enables you to search for files across multiple drives regardless 
  3315. of the number of files. Like the "Fast Find", FF is a turbo charged "find 
  3316. files" utility. 
  3317.  
  3318. The syntax for "FF" is: 
  3319.  
  3320. FF filespec [/R /H /S /A /D /O /E /LN /SN /AD /LA /LW /SK]
  3321.     /R   read only attr
  3322.     /H   hidden attr
  3323.     /S   system attr
  3324.     /A   archive attr
  3325.     /D   directory attr
  3326.     /O   open files
  3327.     /E   erase files
  3328.     /LN  long file names
  3329.     /SN  short file names
  3330.     /AD  all drives
  3331.     /LAn  n days since access
  3332.     /LWn  n days since write
  3333.     /SKn  >= n Kbytes in size
  3334.     ?   help
  3335.  
  3336. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3337. File Pattern is "*" for all files. 
  3338.  
  3339.  
  3340. ΓòÉΓòÉΓòÉ 11.9.2. FDUPS (Find Duplicates) ΓòÉΓòÉΓòÉ
  3341.  
  3342. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3343. option was selected at PM Patrol installation, then this utility is installed 
  3344. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3345. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3346. of the PATH statement. 
  3347.  
  3348. The "FDUPS" utility finds duplicate files by comparing the file name, size 
  3349. and/or last write date.  Between these options, you expect a very high 
  3350. confidence level that 1 or more files are duplicates. 
  3351.  
  3352. The "FDUPS" utility takes several minutes to run depending on the number of 
  3353. files on the disk drive being searched. Select the /i option to make FDUPS run 
  3354. at idle time - when there is little OS/2 activity. 
  3355.  
  3356. The syntax for "FDUPS" is: 
  3357.  
  3358. FDUPS filespec [/S, /D, /A, /I]
  3359.     /S   include size comparison
  3360.     /D   include date comparison
  3361.     /A   search all drives
  3362.     /I   run at idle time
  3363.     ?   help
  3364.  
  3365. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3366. File Pattern is "*" for all files. 
  3367.  
  3368.  
  3369. ΓòÉΓòÉΓòÉ 11.9.3. FDUMP (File Dump) ΓòÉΓòÉΓòÉ
  3370.  
  3371. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3372. option was selected at PM Patrol installation, then this utility is installed 
  3373. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3374. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3375. of the PATH statement. 
  3376.  
  3377. The "FDUMP" utility will dump the contents of any file displaying the ASCII and 
  3378. HEX representation of each byte in the file. 
  3379.  
  3380. This utility provides the ability to specify the format of the output in either 
  3381. a vertical or horizontal fashion. Furthermore, where binary files have specific 
  3382. record lengths, FDUMP allows you to specify this as well. 
  3383.  
  3384. The output from FDUMP is displayed on the screen but can be redirected using 
  3385. the ">outfile" parameter. 
  3386.  
  3387. The syntax for "FDUMP" is: 
  3388.  
  3389. FDUMP filespec [/R=] [/H|/V]
  3390.  
  3391. "filespec" represents a file name to examine. This must be specified. 
  3392.  
  3393. "/R=nn" tells FDUMP to dump the contents of the file using nn record length. 
  3394.  
  3395. "/H" tells FDUMP to dump the contents of the file in horizontal mode. This is 
  3396. the default used by FDUMP. 
  3397.  
  3398. "/V" tells FDUMP to dump the contents of the file in vertical mode. 
  3399.  
  3400.  
  3401. ΓòÉΓòÉΓòÉ 11.9.4. PIDKILL (Kill OS/2 Process) ΓòÉΓòÉΓòÉ
  3402.  
  3403. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3404. option was selected at PM Patrol installation, then this utility is installed 
  3405. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3406. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3407. of the PATH statement. 
  3408.  
  3409. The "PIDKILL" utility allows you to terminate (UNIX-kill 9) a OS/2 program and 
  3410. all its threads. 
  3411.  
  3412. "PIDKILL" takes 1 parameter: the PID to kill. This PID value can be identified 
  3413. by using the PM Patrol Process Monitor window or using the OS/2 "PSTAT" command 
  3414. line utility shipped with OS/2. 
  3415.  
  3416. Note:  A PID that is "blocked" (waiting on another OS/2 resource) may not 
  3417. always be able to be "killed". Repeat attempts may be necessary. 
  3418.  
  3419. The syntax for "PIDKILL" is: 
  3420.  
  3421. PIDKILL pid
  3422.  
  3423. "pid" represents a HEX value as identified in the PM Patrol Monitor window or 
  3424. the OS/2 command line utility "PSTAT". 
  3425.  
  3426. Note:  Recall that the PM Patrol Process Monitor window also allows you to 
  3427. "Kill" PIDs. 
  3428.  
  3429.  
  3430. ΓòÉΓòÉΓòÉ 11.9.5. QMGMT (Queue Management) ΓòÉΓòÉΓòÉ
  3431.  
  3432. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3433. option was selected at PM Patrol installation, then this utility is installed 
  3434. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3435. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3436. of the PATH statement. 
  3437.  
  3438. The "QMGMT" utility allows you to perform various Print Spooler Queue 
  3439. management functions similar to Print Spooler functions available in the PM 
  3440. Patrol program. 
  3441.  
  3442. These functions include purging, releasing, holding, and deleting 1 or more 
  3443. spooler queues. 
  3444.  
  3445. The syntax for "QMGMT" is: 
  3446.  
  3447. QMGMT qname [options]
  3448.  
  3449. "qname" represents the queue to act upon. Enter a queue name or default to ALL 
  3450. queues. 
  3451.  
  3452. "options" represents 1 of the actions to perform on the print queue. By 
  3453. default, QMGMT will report summary information (/I) and status of the queue(s). 
  3454.  
  3455.  
  3456. ΓòÉΓòÉΓòÉ 11.9.6. PMPSDOWN (PM Patrol Shut Down) ΓòÉΓòÉΓòÉ
  3457.  
  3458. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3459. option was selected at PM Patrol installation, then this utility is installed 
  3460. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3461. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3462. of the PATH statement. 
  3463.  
  3464. The "PMPSDown" utility allows you to shut down PM Patrol and optionally specify 
  3465. how long (in seconds) to wait before the shutdown occurs. This utility returns 
  3466. 0 is successful, and 1 if not (ie. PMP was not active at the time). 
  3467.  
  3468. If no delay is specified, PM Patrol will be shutdown immediately. 
  3469.  
  3470. The syntax for "PMPSDown" is: 
  3471.  
  3472. PMPSDown [seconds]
  3473.  
  3474.  
  3475. ΓòÉΓòÉΓòÉ 11.9.7. MSGBOX (Message Box Popup) ΓòÉΓòÉΓòÉ
  3476.  
  3477. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3478. option was selected at PM Patrol installation, then this utility is installed 
  3479. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3480. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3481. of the PATH statement. 
  3482.  
  3483. The "MsgBox" utility allows you to popup of message box with text and buttons 
  3484. of your choice. Ideal for the PM Patrol Scheduler. 
  3485.  
  3486. The syntax for "MsgBox" is: 
  3487.  
  3488. MsgBox text [/A /Tt /Dn /Bn]
  3489.  
  3490.  text  Any text of your choice (up to 1K in length)
  3491.  /A   Sound alarm
  3492.  /Tt  Title where t=text
  3493.  /Dn  Timeout delay (milliseconds)
  3494.  /Bn  Button types, where n=
  3495.      1=Ok        6=Retry,Cancel
  3496.      2=Ok,Cancel     7=Abort,Retry,Ignore
  3497.      3=Cancel      8=Yes,No
  3498.      4=Enter       9=Yes,No,Cancel
  3499.      5=Enter,Cancel
  3500.  
  3501.  Return Codes:
  3502.      1=OK selected    5=Ignore selected
  3503.      2=Cancel selected  6=Yes selected
  3504.      3=Abort selected  7=No selected
  3505.      4=Retry selected  9=Enter selected
  3506.  
  3507.  
  3508. ΓòÉΓòÉΓòÉ 11.9.8. PMPREG (PM Patrol Registration) ΓòÉΓòÉΓòÉ
  3509.  
  3510. This utility is accessed from the OS/2 command prompt window and is installed 
  3511. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3512. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3513. of the PATH statement. 
  3514.  
  3515. The "PMPReg" utility is provided with PM Patrol to allow command-line 
  3516. registration of the product and is useful under situations which require setup 
  3517. or configuration of PM Patrol for pre-loads, batch, and/or remote setup. 
  3518.  
  3519. There are no command-line options for this tool. PMPReg will simply ask for 
  3520. your name and serial number and complete the registration process. For batch 
  3521. situations, this tool returns 0 upon success or 1 otherwise. All output is send 
  3522. to stdout. 
  3523.  
  3524.  
  3525. ΓòÉΓòÉΓòÉ 12. Data Collection Facility ΓòÉΓòÉΓòÉ
  3526.  
  3527. This section discusses the Data Collection Facility (DCF) of PM Patrol. 
  3528.  
  3529.  
  3530. ΓòÉΓòÉΓòÉ 12.1. DCF Definition ΓòÉΓòÉΓòÉ
  3531.  
  3532. The Data Collection Facility (DCF) of PM Patrol is a high performance data 
  3533. acquisition and statistics collecting engine. This engine is one of the 
  3534. by-products of PM Patrol and used by PM Patrol itself. 
  3535.  
  3536. Available to PM Patrol users is a simple API set allowing the C/C++ programmer 
  3537. access to this statistical data. 
  3538.  
  3539. The engine is ALWAYS gathering statistics regardless of what monitor items have 
  3540. been selected for the PM Patrol Status Line display window. These include all 
  3541. monitor items possible in PM Patrol along with others that are not monitorable 
  3542. by the PM Patrol Status Line. 
  3543.  
  3544. The DCF engine causes no extra overhead as it is a integral component of PM 
  3545. Patrol. API interface calls to the DCF engine are extremely fast. Memory to 
  3546. hold the statistics is always resident because PM Patrol is constantly updating 
  3547. it. 
  3548.  
  3549.  
  3550. ΓòÉΓòÉΓòÉ 12.2. DCF Programming Files ΓòÉΓòÉΓòÉ
  3551.  
  3552. The PM Patrol software contains 3 files for DCF programming purposes: 
  3553.  
  3554.    1. PMPAPI.H is a C/C++ header containing all constants, definitions, 
  3555.       structures, and the like. "Include" this header file in your C/C++ 
  3556.       programs. 
  3557.  
  3558.    2. PMPAPI.LIB is the Import Library to link with to resolve DCF APIs. You 
  3559.       must link (LINK386) with this Import Library to resolve external 
  3560.       references and is specified in the LINK386 options. 
  3561.  
  3562.    3. PMPAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3563.       APIs 
  3564.  
  3565.  For compiling and linking, append the installation path used for PM Patrol to 
  3566.  the following statements in your CONFIG.SYS file: 
  3567.  
  3568.    1. "LIB" statement for the API import library (PMPAPI.LIB). 
  3569.  
  3570.    2. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  3571.  
  3572.  Make sure the PM Patrol DLL is available at run time by appending the 
  3573.  installation path used for PM Patrol to the following statements in your 
  3574.  CONFIG.SYS file: 
  3575.  
  3576.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  3577.  
  3578.  
  3579. ΓòÉΓòÉΓòÉ 12.3. DCF API Set ΓòÉΓòÉΓòÉ
  3580.  
  3581. This section describes in detail the API set for interfacing with PM Patrol 
  3582. Data Collection Facility. 
  3583.  
  3584.  
  3585. ΓòÉΓòÉΓòÉ 12.3.1. DCFGetStats() API ΓòÉΓòÉΓòÉ
  3586.  
  3587. This API provides the ability to retrieve the PM Patrol real-time statistics. 
  3588. These statistics are maintained in a shared memory segment and retrieval with 
  3589. DCFGetStats() is therefore VERY fast. However, it is highly recommended that 
  3590. this API be called no more frequently that once per second. Since PM Patrol 
  3591. updates this structure at most once per second, calling this API more 
  3592. frequently than PM Patrol updates it would be useless and waste CPU. 
  3593.  
  3594. Prototype: APIRC DCFGetStats (PDCFSTATS pDCFStats)
  3595.  
  3596. Parms:   PDCFSTATS      ... Address of DCFSTATS structure
  3597.  
  3598. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3599.       DCF_PARM_ERROR   ... Invalid parm specified
  3600.       DCF_INACTIVE_ERROR ... DCF not active
  3601.  
  3602. Notes:   Statistics are updated at frequencies defined in the PM Patrol
  3603.       "Refresh Settings" dialog under "Settings" options.
  3604.       Refer to PMPAPI.H for statistical items collected by DCF.
  3605.  
  3606. Example:  Query current statistics and display drives on-line
  3607. _________________________________________________________________________
  3608. #include <stdio.h>
  3609. #include <stdlib.h>
  3610. #include <pmpapi.h>
  3611.  
  3612. INT main(INT argc, CHAR **argv)
  3613. {
  3614.  APIRC    rc;      /* API return code          */
  3615.  PDCFSTATS  pDCFStats;  /* pointer to DCF statistics buffer */
  3616.  
  3617.  /* allocate memory for statistics buffer */
  3618.  pDCFStats=(PDCFSTATS) malloc(sizeof(DCFSTATS));
  3619.  
  3620.  /* retrieve current statistics */
  3621.  rc=DCFGetStats(pDCFStats);
  3622.  if (rc==DCF_NO_ERROR)
  3623.   printf("Drives On-line: %s\n", pDCFStats->drivesOnLine);
  3624.  else
  3625.   printf("PM Patrol DCF not active right now.\n");
  3626.  
  3627.  /* exit program with return code */
  3628.  return rc;
  3629. }
  3630.  
  3631.  
  3632. ΓòÉΓòÉΓòÉ 12.3.2. DCFUserDefined() API ΓòÉΓòÉΓòÉ
  3633.  
  3634. This API provides the ability to post a user defined monitor to PM Patrol for 
  3635. display on the Status Line. It is highly recommended that this API call be 
  3636. issued no frequently that once per second. The maximum length of the buffer is 
  3637. 20 bytes. PM Patrol will force this if the length exceeds this limit. 
  3638.  
  3639. Prototype: APIRC DCFUSerDefined (PCHAR buffer)
  3640.  
  3641. Parms:   PCHAR        ... Address of user defined monitor buffer
  3642.  
  3643. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3644.       DCF_PARM_ERROR   ... Invalid parm specified
  3645.       DCF_INACTIVE_ERROR ... DCF not active
  3646.  
  3647. Example:  Tell PM Patrol to display your name on the Status Line
  3648. _________________________________________________________________________
  3649. #include <stdio.h>
  3650. #include <stdlib.h>
  3651. #include <pmpapi.h>
  3652.  
  3653. INT main(INT argc, CHAR **argv)
  3654. {
  3655.  APIRC  rc;  /* API return code  */
  3656.  
  3657.  /* post monitor buffer to PM Patrol */
  3658.  rc=DCFUserDefined("My name is Dave");
  3659.  if (rc==DCF_NO_ERROR)
  3660.   printf("PMP will show my name on the Status Line\n");
  3661.  else
  3662.   printf("PM Patrol DCF not active right now.\n");
  3663.  
  3664.  /* exit program with return code */
  3665.  return rc;
  3666. }
  3667.  
  3668.  
  3669. ΓòÉΓòÉΓòÉ 12.3.3. DCFVerify() API ΓòÉΓòÉΓòÉ
  3670.  
  3671. This API provides the ability to verify the active state of PM Patrol's Data 
  3672. Collection Facility. 
  3673.  
  3674. Prototype: BOOL DCFVerify (void)
  3675.  
  3676. Parms:   None
  3677.  
  3678. Returns:  TRUE  ... DCF active
  3679.       FALSE ... DCF not active
  3680.  
  3681. Example:  Print status of the DCF
  3682. _________________________________________________________________________
  3683. #include <stdio.h>
  3684. #include <stdlib.h>
  3685. #include <pmpapi.h>
  3686.  
  3687. INT main(INT argc, CHAR **argv)
  3688. {
  3689.  BOOL  activeInd;    /* active indicator */
  3690.  
  3691.  /* verify state */
  3692.  activeInd=DCFVerify();
  3693.  if (activeInd==TRUE)
  3694.   printf("PM Patrol DCF is active\n");
  3695.  else
  3696.   printf("PM Patrol DCF is not active\n");
  3697.  
  3698.  /* exit program with active status */
  3699.  return (INT) activeInd;
  3700. }
  3701.  
  3702.  
  3703. ΓòÉΓòÉΓòÉ 12.3.4. PMPShutDown() API ΓòÉΓòÉΓòÉ
  3704.  
  3705. This API will completely shutdown PM Patrol and the Data Collection Facility. 
  3706.  
  3707. Prototype: BOOL PMPShutDown (void)
  3708.  
  3709. Parms:   None
  3710.  
  3711. Returns:  TRUE  ... Successful with no errors
  3712.       FALSE ... PM Patrol not active
  3713.  
  3714. Example:  Shutdown PM Patrol
  3715. _________________________________________________________________________
  3716. #include <stdio.h>
  3717. #include <stdlib.h>
  3718. #include <pmpapi.h>
  3719.  
  3720. INT main(INT argc, CHAR **argv)
  3721. {
  3722.  BOOL  shutdownInd;
  3723.  
  3724.  /* shutdown and print message */
  3725.  shutdownInd=PMPShutDown();
  3726.  if (shutdownInd==TRUE)
  3727.   printf("PM Patrol and DCF now shutdown.\n");
  3728.  else
  3729.   printf("PM Patrol not active.\n");
  3730.  
  3731.  /* exit program with shutdown status */
  3732.  return (INT) shutdownInd;
  3733. }
  3734.  
  3735.  
  3736. ΓòÉΓòÉΓòÉ 13. Debug Facility ΓòÉΓòÉΓòÉ
  3737.  
  3738. This section discusses the Debug Facility integrated with PM Patrol. 
  3739.  
  3740.  
  3741. ΓòÉΓòÉΓòÉ 13.1. DBug Definition ΓòÉΓòÉΓòÉ
  3742.  
  3743. DBug is a flexible and easy to use real-time debugging for the software 
  3744. engineer/developer that provides debugging capabilities that are impossible for 
  3745. the source-level debugger, easier to use, and often more convenient. 
  3746.  
  3747. The concept of DBug is simple. You place 1 or more "DBUG" statements in your 
  3748. program source code at a strategic point for the purpose of displaying a 
  3749. message, the content of variables or memory, or time stamping a point of entry. 
  3750. Compile and run your program(s). While or after running your program(s), you 
  3751. can view the current results via the "DBug" window or view the DBug log file to 
  3752. browse your DBug results. 
  3753.  
  3754.  
  3755. ΓòÉΓòÉΓòÉ 13.2. Using DBug ΓòÉΓòÉΓòÉ
  3756.  
  3757. When you compile your programs you include the C/C++ header file "dbug.h" and 
  3758. specify the compiler directive "-DDEBUG". You must link your program with the 
  3759. DBug Import Library "DBUGAPI.LIB" to resolve externs. 
  3760.  
  3761. Once you're done testing and want to remove the DBUG statements for 
  3762. "production" use, you may: 
  3763.  
  3764.    1. Recompile your program(s) WITHOUT specifying the compiler directive 
  3765.       "-DDEBUG". The compiler will ignore the DBUG statements. Linking with 
  3766.       "DBUGAPI.LIB" is now unnecessary. 
  3767.  
  3768.    2. Manually remove each DBUG statement. Recompile and link. 
  3769.  
  3770.       Our recommendation is that you leave the "dbug.h" include file in the 
  3771.       program(s) and choose option 1 above. This allows you to, with just a 
  3772.       recompile, have your run-time debugging enabled quickly for testing. 
  3773.  
  3774.  DBUG statements are C/C++ macros which map to a single API. There is a 
  3775.  "generic" DBUG macro for any use, and specific macros for each unique standard 
  3776.  C data type: 
  3777.  
  3778.    1. The DBUG macro is generic and allows you to display the contents from any 
  3779.       data type as well as any chunk of memory. 
  3780.  
  3781.    2. The DBUGM macro displays a simple message of your choice. 
  3782.  
  3783.    3. The DBUGS macro displays the contents of a SHORT data type. 
  3784.  
  3785.    4. The DBUGL macro displays the contents of a LONG data type. 
  3786.  
  3787.    5. The DBUGI macro displays the contents of a INTEGER data type. 
  3788.  
  3789.    6. The DBUGD macro displays the contents of a DOUBLE data type. 
  3790.  
  3791.    7. The DBUGC macro displays the contents of a CHAR data type. 
  3792.  
  3793.    8. The DBUGZ macro displays the contents of a STRING data type. 
  3794.  
  3795.    9. The DBUGP macro displays the contents of a POINTER data type. 
  3796.  
  3797.   10. The DBUGOPEN macro opens a new DBug log file. 
  3798.  
  3799.   11. The DBUGCLOSE macro closes the DBug log file. 
  3800.  
  3801.   12. The DBUGSTOP macro terminates the DBug facility. 
  3802.  
  3803.  Each DBUG statement will cause an IPC message to be build and sent to the 
  3804.  central DBug program. The DBug program will then display the message in his 
  3805.  standard format and log it for later recall - if logging is turned on. 
  3806.  
  3807.  If the DBug program is not presently running to receive these requests, your 
  3808.  DBUG statements will be ignored at run-time. The effort required to complete a 
  3809.  single DBUG within your program(s) is very minimal and insignificant. 
  3810.  
  3811.  The DBug program can be started and stopped at any time - even when programs 
  3812.  are actively DBUGing. If restarted, DBug will continue pulling DBUGs from his 
  3813.  queue and displaying/logging them. 
  3814.  
  3815.  DBug will handle bursts of DBUGs easily as it offers a 256K maximum buffer. 
  3816.  DBug will only allocate/commit enough memory to hold each DBUG request - not 
  3817.  the whole 256K. The 256K buffer is therefore used optimally and requires 
  3818.  little real memory from OS/2. 
  3819.  
  3820.  When monitoring DBug, minimize the window if large amounts of DBUGs are be 
  3821.  displayed. This will significantly improve how fast DBug displays and reduce 
  3822.  the overhead of displaying results. 
  3823.  
  3824.  DBug has two log files and are created in the drive/directory where DBug was 
  3825.  started. If started and controlled from PM Patrol, these log files will reside 
  3826.  in the directory from where PM Patrol was installed and started. 
  3827.  
  3828.    1. The primary and active log "DBUG.LOG" contains current data. 
  3829.  
  3830.    2. The backup log "DBUG.BAK" contains the previous primary data after a new 
  3831.       log file is opened. 
  3832.  
  3833.       When logging is opened, a DBUG message is placed at the beginning of the 
  3834.       DBug log file. 
  3835.  
  3836.       Note:  DBug log files are automatically recycled at midnight so that 
  3837.       under continuous operation, each log will contain a full 24 hours of 
  3838.       information. Therefore, up to 2 days (primary and backup) of DBug 
  3839.       information can be reviewed any time. 
  3840.  
  3841.  If Dbug has nothing to do, absolutely no CPU is used. The small amount of DBug 
  3842.  memory requirements are "swappable" to make room for more active demanding 
  3843.  programs. 
  3844.  
  3845.  DBug is a high performance debugging tool for even the most intense 
  3846.  environments. When the Dbug window is minimized or DBug is running in "Quiet" 
  3847.  mode, DBug can handle several hundred DBUGs per second, even more for highend 
  3848.  Pentium or PowerPC processors. 
  3849.  
  3850.  
  3851. ΓòÉΓòÉΓòÉ 13.3. DBug Programming Files ΓòÉΓòÉΓòÉ
  3852.  
  3853. The DBug software contains 3 files for DBug programming purposes: 
  3854.  
  3855.    1. DBUG.H is a C/C++ header containing the macros for DBug. "Include" this 
  3856.       header file in your C/C++ programs. 
  3857.  
  3858.    2. DBUGAPI.LIB is the Import Library to link with to resolve DBUG APIs. You 
  3859.       must link (LINK386) with this Import Library to resolve external 
  3860.       references and is specified in the LINK386 options. 
  3861.  
  3862.    3. DBUGAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3863.       APIs 
  3864.  
  3865.  For compiling and linking, append the installation path used for PM Patrol to 
  3866.  the following statements in your CONFIG.SYS file: 
  3867.  
  3868.    1. "LIB" statement for the API import library (DBUGAPI.LIB). 
  3869.  
  3870.    2. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  3871.  
  3872.  Make sure the DBug DLL is available at run time by appending the installation 
  3873.  path used for PM Patrol to the following statements in your CONFIG.SYS file: 
  3874.  
  3875.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  3876.  
  3877.  
  3878. ΓòÉΓòÉΓòÉ 13.4. DBug Macro Set ΓòÉΓòÉΓòÉ
  3879.  
  3880. This section describes in detail the C/C++ macro set for using the Debug 
  3881. Facility. 
  3882.  
  3883.  
  3884. ΓòÉΓòÉΓòÉ 13.4.1. DBUG() Macro ΓòÉΓòÉΓòÉ
  3885.  
  3886. The DBUG macro is generic and allows you to display the contents from any data 
  3887. type as well as any chunk of memory. 
  3888.  
  3889. Prototype: ULONG  DBUG (PVOID address, USHORT size, PCHAR note)
  3890.  
  3891. Parms:   address       ... Address to displayed/dumped
  3892.       size        ... Size of data type or memory to be display
  3893.       note        ... A personal description of your choice
  3894.  
  3895. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3896.  
  3897. Example:
  3898. _________________________________________________________________________
  3899. #include <stdio.h>
  3900. #include <stdlib.h>
  3901. #include <dbug.h>
  3902.  ...
  3903.  
  3904.  CHAR  array[60];
  3905.  
  3906.  DBUG(array, sizeof(array), "my array");
  3907.  
  3908.  
  3909. ΓòÉΓòÉΓòÉ 13.4.2. DBUGM() Macro ΓòÉΓòÉΓòÉ
  3910.  
  3911. The DBUGM macro displays a simple message of your choice. 
  3912.  
  3913. Prototype: ULONG  DBUGM(PCHAR message)
  3914.  
  3915. Parms:   message       ... A personal description of your choice
  3916.  
  3917. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3918.  
  3919. Example:
  3920. _________________________________________________________________________
  3921. #include <stdio.h>
  3922. #include <stdlib.h>
  3923. #include <dbug.h>
  3924.  ...
  3925.  
  3926.  DBUGM("Point 1 of program");
  3927.  
  3928.  
  3929. ΓòÉΓòÉΓòÉ 13.4.3. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3930.  
  3931. The DBUGS macro displays the contents of a SHORT data type. 
  3932.  
  3933. Prototype: ULONG  DBUGS(PSHORT address, PCHAR note)
  3934.  
  3935. Parms:   address       ... Address of short to be displayed
  3936.       note        ... A personal description of your choice
  3937.  
  3938. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3939.  
  3940. Example:
  3941. _________________________________________________________________________
  3942. #include <stdio.h>
  3943. #include <stdlib.h>
  3944. #include <dbug.h>
  3945.  ...
  3946.  
  3947.  USHORT  variable;
  3948.  
  3949.  DBUGS(&variable, "my variable");
  3950.  
  3951.  
  3952. ΓòÉΓòÉΓòÉ 13.4.4. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3953.  
  3954. The DBUGL macro displays the contents of a LONG data type. 
  3955.  
  3956. Prototype: ULONG  DBUGL(PLONG address, PCHAR note)
  3957.  
  3958. Parms:   address       ... Address of long to be displayed
  3959.       note        ... A personal description of your choice
  3960.  
  3961. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3962.  
  3963. Example:
  3964. _________________________________________________________________________
  3965. #include <stdio.h>
  3966. #include <stdlib.h>
  3967. #include <dbug.h>
  3968.  ...
  3969.  
  3970.  LONG  variable;
  3971.  
  3972.  DBUGL(&variable, "my variable");
  3973.  
  3974.  
  3975. ΓòÉΓòÉΓòÉ 13.4.5. DBUGI() Macro ΓòÉΓòÉΓòÉ
  3976.  
  3977. The DBUGI macro displays the contents of a INTEGER data type. 
  3978.  
  3979. Prototype: ULONG  DBUGI(PINT address, PCHAR note)
  3980.  
  3981. Parms:   address       ... Address of integer to be displayed
  3982.       note        ... A personal description of your choice
  3983.  
  3984. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3985.  
  3986. Example:
  3987. _________________________________________________________________________
  3988. #include <stdio.h>
  3989. #include <stdlib.h>
  3990. #include <dbug.h>
  3991.  ...
  3992.  
  3993.  INT   variable;
  3994.  
  3995.  DBUGI(&variable, "my variable");
  3996.  
  3997.  
  3998. ΓòÉΓòÉΓòÉ 13.4.6. DBUGD() Macro ΓòÉΓòÉΓòÉ
  3999.  
  4000. The DBUGD macro displays the contents of a DOUBLE data type. 
  4001.  
  4002. Prototype: ULONG  DBUGD(PDOUBLE address, PCHAR note)
  4003.  
  4004. Parms:   address       ... Address of double to be displayed
  4005.       note        ... A personal description of your choice
  4006.  
  4007. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4008.  
  4009. Example:
  4010. _________________________________________________________________________
  4011. #include <stdio.h>
  4012. #include <stdlib.h>
  4013. #include <dbug.h>
  4014.  ...
  4015.  
  4016.  DOUBLE  variable;
  4017.  
  4018.  DBUGD(&variable, "my variable");
  4019.  
  4020.  
  4021. ΓòÉΓòÉΓòÉ 13.4.7. DBUGC() Macro ΓòÉΓòÉΓòÉ
  4022.  
  4023. The DBUGC macro displays the contents of a CHAR data type. 
  4024.  
  4025. Prototype: ULONG  DBUGC(PINT address, PCHAR note)
  4026.  
  4027. Parms:   address       ... Address of char to be displayed
  4028.       note        ... A personal description of your choice
  4029.  
  4030. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4031.  
  4032. Example:
  4033. _________________________________________________________________________
  4034. #include <stdio.h>
  4035. #include <stdlib.h>
  4036. #include <dbug.h>
  4037.  ...
  4038.  
  4039.  CHAR   variable;
  4040.  
  4041.  DBUGC(&variable, "my variable");
  4042.  
  4043.  
  4044. ΓòÉΓòÉΓòÉ 13.4.8. DBUGP() Macro ΓòÉΓòÉΓòÉ
  4045.  
  4046. The DBUGP macro displays the contents of a POINTER data type. 
  4047.  
  4048. Prototype: ULONG  DBUGP(PVOID address, PCHAR note)
  4049.  
  4050. Parms:   address       ... Address of pointer to be displayed
  4051.       note        ... A personal description of your choice
  4052.  
  4053. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4054.  
  4055. Example:
  4056. _________________________________________________________________________
  4057. #include <stdio.h>
  4058. #include <stdlib.h>
  4059. #include <dbug.h>
  4060.  ...
  4061.  
  4062.  PVOID  variable;
  4063.  
  4064.  /* display pointer value */
  4065.  DBUGP(&variable, "my variable");
  4066.  
  4067.  /* display memory contents of size 2048 bytes */
  4068.  DBUG(variable, 2048, "my variable memory");
  4069.  
  4070.  
  4071. ΓòÉΓòÉΓòÉ 13.4.9. DBUGZ() Macro ΓòÉΓòÉΓòÉ
  4072.  
  4073. The DBUGZ macro displays the contents of a STRING data type. 
  4074.  
  4075. Prototype: ULONG  DBUGZ(PVOID address, PCHAR note)
  4076.  
  4077. Parms:   address       ... Address of string to be displayed
  4078.       note        ... A personal description of your choice
  4079.  
  4080. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4081.  
  4082. Example:
  4083. _________________________________________________________________________
  4084. #include <stdio.h>
  4085. #include <stdlib.h>
  4086. #include <dbug.h>
  4087.  ...
  4088.  
  4089.  CHAR  variable[32]="Hello world";
  4090.  
  4091.  DBUGZ(variable, "my variable");
  4092.  
  4093.  
  4094. ΓòÉΓòÉΓòÉ 13.4.10. DBUGOPEN() Macro ΓòÉΓòÉΓòÉ
  4095.  
  4096. The DBUGOPEN macro opens a new DBug log file. 
  4097.  
  4098. Prototype: ULONG  DBUGOPEN(VOID)
  4099.  
  4100. Parms:   None
  4101.  
  4102. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4103.  
  4104. Example:
  4105. _________________________________________________________________________
  4106. #include <stdio.h>
  4107. #include <stdlib.h>
  4108. #include <dbug.h>
  4109.  ...
  4110.  
  4111.  DBUGOPEN();
  4112.  
  4113.  
  4114. ΓòÉΓòÉΓòÉ 13.4.11. DBUGCLOSE() Macro ΓòÉΓòÉΓòÉ
  4115.  
  4116. The DBUGCLOSE macro closes the DBug log file. 
  4117.  
  4118. Prototype: ULONG  DBUGCLOSE(VOID)
  4119.  
  4120. Parms:   None
  4121.  
  4122. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4123.  
  4124. Example:
  4125. _________________________________________________________________________
  4126. #include <stdio.h>
  4127. #include <stdlib.h>
  4128. #include <dbug.h>
  4129.  ...
  4130.  
  4131.  DBUGCLOSE();
  4132.  
  4133.  
  4134. ΓòÉΓòÉΓòÉ 13.4.12. DBUGSTOP() Macro ΓòÉΓòÉΓòÉ
  4135.  
  4136. The DBUGSTOP macro terminates the DBug Facility. 
  4137.  
  4138. Prototype: ULONG  DBUGSTOP(VOID)
  4139.  
  4140. Parms:   None
  4141.  
  4142. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4143.  
  4144. Example:
  4145. _________________________________________________________________________
  4146. #include <stdio.h>
  4147. #include <stdlib.h>
  4148. #include <dbug.h>
  4149.  ...
  4150.  
  4151.  DBUGSTOP();
  4152.  
  4153.  
  4154. ΓòÉΓòÉΓòÉ 13.5. DBug Output ΓòÉΓòÉΓòÉ
  4155.  
  4156. The following is a sample output from the DBug Facility. 
  4157.  
  4158.  
  4159. Sample output
  4160. ------------------------------------------------------------------------
  4161. From: PID 00a3  At 21:06:42  DBUG.CPP (line 474)
  4162. Note: DBug log opened.
  4163. Type: INFO, 0 bytes  (0 qCnt)
  4164. ------------------------------------------------------------------------
  4165. From: PID 00a8  At 21:07:10  TEST.C (line 22)
  4166. Note: sample DBUGs
  4167. Type: INFO, 0 bytes  (3 qCnt)
  4168. ------------------------------------------------------------------------
  4169. From: PID 00a8  At 21:07:10  TEST.C (line 23)
  4170. Note: my return code (little endian)
  4171. Type: LONG, 4 bytes  (2 qCnt)
  4172. 0000: 00 00 00 00                   |....       |
  4173. ------------------------------------------------------------------------
  4174. From: PID 00a8  At 21:07:10  TEST.C (line 24)
  4175. Note: a chunk of memory
  4176. Type: VOID, 120 bytes  (1 qCnt)
  4177. 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4178. 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4179. 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4180. 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4181. 0040: 00 00 00 00 00 00 00 00 00 00 43 44 45 46 00 00 |..........CDEF..|
  4182. 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4183. 0060: 00 00 00 00 00 43 00 00 00 00 00 00 00 00 60 c6 |.....C........`.|
  4184. 0070: a2 41 00 00 00 00 10 59             |.A.....Y     |
  4185. ------------------------------------------------------------------------
  4186. From: PID 00a8  At 21:07:10  TEST.C (line 25)
  4187. Note: my double value
  4188. Type: DOUBLE, 8 bytes  (0 qCnt)
  4189. 0000: 33 33 33 33 b3 00 ab 40             |3333...@     |
  4190. ------------------------------------------------------------------------
  4191.  
  4192. Using the last DBUG for example, the DBug output contains four (4) main 
  4193. sections: 
  4194.  
  4195.    1. The From section identifies who (what program) the DBUG was sent from: 
  4196.  
  4197.         a. The Process ID (as hex) 
  4198.  
  4199.         b. The time the DBug was issued (not received and displayed/logged). 
  4200.  
  4201.         c. The program source code name and line number of the DBUG statement 
  4202.            within the program source. 
  4203.  
  4204.    2. The Note section is where your personal note/description from the DBUG 
  4205.       statement is displayed. 
  4206.  
  4207.    3. The Type section identifies the data type displayed, the number of bytes 
  4208.       for the data, and how many DBUG statements remain in the DBug queue to be 
  4209.       displayed (qCnt): 
  4210.  
  4211.         a. These include all standard data types such as DOUBLE, CHAR, PCHAR, 
  4212.            INT, and so on. 
  4213.  
  4214.         b. VOID is displayed when a "memory chunk" is displayed. 
  4215.  
  4216.         c. INFO is displayed when just a DBUGM (Message) statement is issued. 
  4217.  
  4218.    4. The last section displays the contents (in hex and ASCII representation) 
  4219.       of the data type. The left most column of this section is the offset 
  4220.       starting at zero. 
  4221.  
  4222.  
  4223. ΓòÉΓòÉΓòÉ 14. Performance and Tuning ΓòÉΓòÉΓòÉ
  4224.  
  4225. This document makes an assumption that the reader is familiar with OS/2 Warp. 
  4226. It presents general and specific tuning information for a computer that will 
  4227. have or has had OS/2 Warp installed. 
  4228.  
  4229.  
  4230. ΓòÉΓòÉΓòÉ 14.1. General Setup Considerations ΓòÉΓòÉΓòÉ
  4231.  
  4232. There are some basic considerations that need to be made about the computer 
  4233. that you will install Warp on. It breaks down into 3 elements: processor, 
  4234. memory and disk. These three major elements, interestingly enough, have 
  4235. remained the three major elements since the computer was first developed. 
  4236.  
  4237. In most cases the processor that you have in your system has a minimal impact 
  4238. on performance compared to the amount of memory and the speed of the disk. The 
  4239. only real considerations to make with respect to processor are its age. 
  4240.  
  4241. You want to avoid 386 and 386SX processors. You want processors that can be 
  4242. upgraded and those that support instruction caching sometimes referred to as 
  4243. Level 1 or Level 2 cache. 
  4244.  
  4245. There really is no optimum level instruction cache size. More instruction cache 
  4246. is usually better than less. The only real determinant should be costs. 
  4247.  
  4248. Memory, also called RAM, is a different story. Without enough memory your 
  4249. system will run slowly.  If you cannot afford to buy memory for your system, 
  4250. then you must manage the things you install. 
  4251.  
  4252. You only want to install fonts, device drivers, objects and applications that 
  4253. you will actually use. You may think that just because you have not started an 
  4254. installed application, it is not using any memory. This is not always the case. 
  4255. Many newer OS/2 applications will register classes and objects with the 
  4256. WorkPlace Shell or add items into path statements, set statements and the like. 
  4257. Many of these things will cause memory to be used even when the program is not 
  4258. running. 
  4259.  
  4260. In some cases, the program will require special device drivers be installed 
  4261. which also use up memory. 
  4262.  
  4263. Other things that affect memory usage are disk cache, CDROM cache, multimedia 
  4264. support and file buffers. The important factor to consider for the disk cache, 
  4265. is that it is designed for general use. 
  4266.  
  4267. Since most systems are not general use, the disk cache should be tuned to the 
  4268. specific system environment to optimize memory usage. We will discuss the disk 
  4269. cache considerations in more detail when we look at the file system options. 
  4270.  
  4271. In addition to RAM and the CPU, one of the most important pieces of hardware on 
  4272. your system is the hard disk. It will affect the performance of starting your 
  4273. system, loading applications, the speed of applications, and the general 
  4274. performance of your system. 
  4275.  
  4276. It is best to have a disk subsystem which uses a bus-mastering type of adapter. 
  4277. Many SCSI devices and some of the PCI devices have this capability. These types 
  4278. of devices allow for multiple requests to be sent to the disk device to be 
  4279. processed rather than just one command or function at a time. They also allow 
  4280. what is called scatter/gather capabilities. 
  4281.  
  4282. Without bus mastering, data that is transferred between the computer's memory 
  4283. and the disk must be in contiguous memory, one byte after the other. With bus 
  4284. mastering, the data does not have to be contiguous and does not have to be on a 
  4285. 64K byte boundary. Bus-mastering relieves the system of a lot of overhead and 
  4286. therefore performs faster in actual usage, although  you will see little or no 
  4287. difference when running benchmarks. 
  4288.  
  4289. When the memory in your system is overcommitted, that is, the operating system 
  4290. and the applications you are running need more memory than is physically 
  4291. available in your computer, Warp will page, or swap, code and data that has not 
  4292. been accessed for a while to the disk in order to make room for the needed code 
  4293. and data. In this instance, the disk is the single most important factor in 
  4294. your system with respect to performance. 
  4295.  
  4296. Other considerations with regard to the disk is whether or not it has its own 
  4297. caching. If it does and your applications perform mainly sequential disk 
  4298. access, then you can reduce the size of your software disk cache. However, this 
  4299. is subject to the amount of cache installed on the controller. Usually, 256 KB 
  4300. cache is a minimum necessary setting for disk cache. 
  4301.  
  4302. Hardware disk cache will have little or no effect when the programs perform 
  4303. random disk operations. The hardware cache will improve the performance of 
  4304. starting the Warp operating system and the applications. 
  4305.  
  4306. Run a normal load of programs on your machine and then check 
  4307. C:\OS2\SYSTEM\SWAPPER.DAT. Divide its size by 1024 and use that to determine 
  4308. how much space to pre-allocate for your swappath. For example, if your system 
  4309. normally has a 14 MB SWAPPER.DAT, change your swappath line in CONFIG.SYS to 
  4310. like "SWAPPATH=C:\OS2\SYSTEM 2048 14680". 
  4311.  
  4312. If you're running a video driver at a very high color and resolution (65K or 
  4313. 16.6 Million colors) that can severely impact system performance. Try running 
  4314. at 256 colors and see if it works any better. 
  4315.  
  4316. Don't run more than one CPU resource monitor at a time. 
  4317.  
  4318. If you're running a 4 MB system, expect a lot of swapping. More memory will 
  4319. always improve performance. 
  4320.  
  4321. Printing can be CPU intensive. Using the OS/2 spooler and adjusting the spooler 
  4322. priority, you can fine tune the printing overhead so that it has the least 
  4323. negative impact on system performance while keeping the printer(s) busy. A 
  4324. priority setting above 50% may be too aggressive for some slower low-end 
  4325. systems. 
  4326.  
  4327. Keep in mind, the OS/2 spooler requires memory as well (about 512 KB) and will 
  4328. reduce available memory accordingly. If your system has 8 MB of memory and you 
  4329. print infrequently, consider turning off the OS/2 spooler. 
  4330.  
  4331.  
  4332. ΓòÉΓòÉΓòÉ 14.2. File System Performance ΓòÉΓòÉΓòÉ
  4333.  
  4334. OS/2 supports two file systems for use on your hard disks: FAT and HPFS. No 
  4335. matter which file system is used, there are some basic considerations. 
  4336.  
  4337. You need to install the file system depending on which operating systems will 
  4338. access the data. If you plan to boot a DOS or Windows system natively, then any 
  4339. data that will be accessed must exist on a FAT disk partition. 
  4340.  
  4341. If you will only be running DOS and Windows applications in a Warp VDM ( 
  4342. Virtual DOS Machine ), then the file system can be HPFS or FAT. 
  4343.  
  4344. Also, when accessing a file on a server, and the server file system is HPFS, 
  4345. you do not need to install HPFS on your local client machine. HPFS only needs 
  4346. to be installed on a computer when a partition on a local hard disk is 
  4347. formatted as HPFS. 
  4348.  
  4349. The amount of memory you have in your machine should affect the decision about 
  4350. which file system to use. When HPFS is installed, it requires a minimum 200 to 
  4351. 250 KB of working set, plus the space allocated for its cache. This is a 
  4352. significant amount of memory and is the main reason why FAT is used when Warp 
  4353. is installed on a system that contains 4 MB of physical memory.. 
  4354.  
  4355. Regardless of which file system you select, you need to plan for future 
  4356. requirements: How will maintenance and fixes be applied? Where will 
  4357. applications be installed? Where will data reside? etc. 
  4358.  
  4359. It is recommended that when you set up your hard disk, you create a minimum of 
  4360. 3 partitions. One will be for the operating system(s), one for your 
  4361. applications and static data files, and another for dynamic data files and 
  4362. temporary files.  Decide whether you want to use Boot Manager or Dual Boot. 
  4363.  
  4364. If you select Dual Boot, then OS/2 must be installed with FAT file system. 
  4365.  
  4366. For temporary files, it is better to have them preallocated and reuse them 
  4367. rather than create and destroy them every time. Extending a file can be almost 
  4368. twice as slow as just writing to a file. Also, if you reuse files, it will 
  4369. definitely reduce the fragmentation in your disk directories. 
  4370.  
  4371.  
  4372. ΓòÉΓòÉΓòÉ 14.2.1. FAT File System ΓòÉΓòÉΓòÉ
  4373.  
  4374. FAT is best suited for disk partitions that are 80 MB or less in size or that 
  4375. have a limited number of files installed. Usually, 256 files is a good target, 
  4376. with up to 500 acceptable. 
  4377.  
  4378. The number of files become important because FAT files are allocated based on a 
  4379. sector size. The sector size is determined by the size of the disk partition 
  4380. and can be 2K, 4K, 8K or higher. 
  4381.  
  4382. Since most file sizes are not an exact multiple of the sector size, disk space 
  4383. gets wasted. For example, installing DOS, Windows and Warp on a 100 MB 
  4384. partition resulted in 2.2 MB of disk space being wasted. 
  4385.  
  4386. Also, when Warp is allocating space for a file in a FAT partition, it will look 
  4387. for the largest available free space area to write the data or create the file. 
  4388.  
  4389. If lots of files were created and deleted, or expanded, these free space areas 
  4390. become smaller and smaller and are spread out over the disk. This is referred 
  4391. to as fragmentation. 
  4392.  
  4393. When a file is stored in many areas on the disk, it takes longer to read that 
  4394. data simply because the disk head has to do more seeking. 
  4395.  
  4396. The FAT file system disk cache is defined by the DISKCACHE= statement in the 
  4397. CONFIG.SYS file. New in Warp is the "D" designation for the size of the disk 
  4398. cache. Warp will allocate space for the disk cache based on the amount of 
  4399. physical memory that is installed in the system. If more than 8 MB is 
  4400. installed, 10% of the physical memory will be used for the disk cache up to a 
  4401. maximum of 14.4 MB. 
  4402.  
  4403. Based on what applications and support you install in your system, this may be 
  4404. too high and cause you to overcommit your memory. If there is not a lot of disk 
  4405. work done on your system, or you are using DB/2 or HPFS, then you should reduce 
  4406. the size of your disk cache. A number between 128 and 256K is sufficient for 
  4407. most systems. On a 4 MB system, the disk cache is set to 48K. 
  4408.  
  4409. In conjunction with the cache size, you should also set the cache threshold. 
  4410. This determines which records being written or read will be placed in the 
  4411. cache. The default is 1 sector. 
  4412.  
  4413. If your cache size is 128K or larger, increase this value to at least 16 and 
  4414. preferably 32. More detail about the DISKCACHE= statement will be given in the 
  4415. section on CONFIG.SYS. 
  4416.  
  4417. Some additional items for improving performance using FAT are: 
  4418.  
  4419.    1. Group files by usage, the most used files first, and least used files 
  4420.       last. 
  4421.  
  4422.    2. Group files based on whether they are static or dynamic. All dynamic and 
  4423.       temporary files should be placed in a separate partition. 
  4424.  
  4425.    3. If possible, place all temporary files in a single directory. 
  4426.  
  4427.    4. If possible, permanently create temporary files and reuse them. 
  4428.  
  4429.    5. Only create directories that are really needed. The fewer number of 
  4430.       directories you have to search, the faster your search will be. 
  4431.  
  4432.    6. Defragment your partitions after installing new applications, deleting 
  4433.       files or applying maintenance and fixes. Any DOS defragmentation program 
  4434.       that is aware of hidden files can be used. 
  4435.  
  4436.  
  4437. ΓòÉΓòÉΓòÉ 14.2.2. HPFS File System ΓòÉΓòÉΓòÉ
  4438.  
  4439. HPFS does away with some of the concerns that are prevalent with FAT. Files are 
  4440. allocated with more granularity than FAT, and "free space" is allocated in 
  4441. anticipation of file size growth. Therefore fragmentation is greatly reduced 
  4442. and less disk space is used on a per file basis. It is not uncommon to regain 
  4443. about 10 MB out of 100 MB as compared to using FAT. 
  4444.  
  4445. Also, HPFS is especially efficient when handling large partition sizes, > 100 
  4446. MB, and large numbers of files, > 500. Try to limit the number of individual 
  4447. files in a directory to not exceed 5000. 
  4448.  
  4449. The HPFS file system shipped with the OS/2 product has a cache limit of 2 MB. 
  4450. There is no such limit when using the HPFS386 file system that comes with the 
  4451. LAN Server products. 
  4452.  
  4453. HPFS cache parameters are specified on the IFS statement in the CONFIG.SYS 
  4454. file. As with FAT, you should specify the caching threshold value. Use the 
  4455. /CRECL parameter to do this. Here you specify a number in terms of K bytes. 32 
  4456. KB is usually a good starting value. 
  4457.  
  4458. As mentioned earlier, a minor drawback to HPFS is the amount of extra memory 
  4459. that it requires to achieve its performance. Even if there is no HPFS partition 
  4460. on your system, it will cost between 128 and 130K of working set memory, as 
  4461. well as the space for the HPFS cache. Overall, it's a small price to pay for a 
  4462. high performance file system. 
  4463.  
  4464. If you are installing Warp on an existing DOS and or Windows system, you do not 
  4465. want to install HPFS. When your system is up and running, you can check the 
  4466. working set of your system. 
  4467.  
  4468. If there is enough free memory and you wish to create a HPFS partition, then 
  4469. you can use selective reinstall to install the HPFS support. Remember that any 
  4470. data stored in the HPFS partition can not be accessed if you boot your machine 
  4471. under DOS. 
  4472.  
  4473. Another advantage of HPFS over FAT is in the area of extended attributes (EAs). 
  4474. EAs are data attached to a file and used to provide information about the file 
  4475. it is attached to. 
  4476.  
  4477. The name of an object that appears in an OS/2 folder or on the OS/2 Desktop is 
  4478. stored in EAs. In HPFS, EAs are part of the HPFS file control block which is 
  4479. read when the file is open. 
  4480.  
  4481. In FAT, EAs are stored in a separate file and require additional I/O to access 
  4482. them, and are therefore slower. 
  4483.  
  4484. Overall, HPFS comes highly recommended. It has matured since conception to 
  4485. bring very safe high performance to your system and successfully replaces the 
  4486. age old FAT design. 
  4487.  
  4488.  
  4489. ΓòÉΓòÉΓòÉ 14.2.3. Gospel of Disk Cache ΓòÉΓòÉΓòÉ
  4490.  
  4491. The following "Gospel of Caching According to Max" is provided by Proportional 
  4492. Software based upon a great deal of OS/2 system "tweaking" done by the DCF/2 
  4493. development team. 
  4494.  
  4495. You can get better performance from your system by using the memory you have 
  4496. available to you in the most efficient and effective way. 
  4497.  
  4498. From the table below, select the case that best describes the file system or 
  4499. systems you use and memory available on your system. 
  4500.  
  4501.  
  4502. CASE 1: You use only HPFS or only FAT but not both
  4503. ----------------------------------------------------------------
  4504.                  HPFS only     FAT only
  4505. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4506.         16 MB        2048      2048
  4507.         12 MB        1536      1536
  4508.          8 MB        1024      1024
  4509.  
  4510. FAT DISKCACHE parms:
  4511.      LAZY WRITES        N/A       LW
  4512.  
  4513. HPFS CACHE parms:
  4514.      LAZY WRITES        /LAZY:ON    N/A
  4515.         MAXAGE        >7,500     N/A
  4516.        DISKIDLE        60,000     N/A
  4517.       BUFFERIDLE        60,000     N/A
  4518.  
  4519. If your system is HPFS only REM out the DISKCACHE statement in
  4520. your CONFIG.SYS file. If your system is FAT only, REM out the
  4521. IFS=HPFS.IFS statement.
  4522.  
  4523.  
  4524. CASE 2: You use both HPFS and FAT (active and passive)
  4525. ----------------------------------------------------------------
  4526.                 HPFS active    FAT passive
  4527. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4528.         16 MB       2048       512 -1024
  4529.         12 MB       1536       256 - 512
  4530.          8 MB       1024       128 - 256
  4531.  
  4532. FAT DISKCACHE parms:
  4533.      LAZY WRITES       N/A        LW
  4534.  
  4535. HPFS CACHE parms:
  4536.      LAZY WRITES       /LAZY:ON     N/A
  4537.         MAXAGE       >7,500      N/A
  4538.        DISKIDLE       60,000      N/A
  4539.       BUFFERIDLE       60,000      N/A
  4540.  
  4541.  
  4542. CASE 3: You use both HPFS and FAT (passive and active)
  4543. ----------------------------------------------------------------
  4544.                  HPFS passive    FAT active
  4545. If system memory is at least   Set CACHE to  Set DISKCACHE to
  4546.         16 MB        1024       2048
  4547.         12 MB        768       1536
  4548.          8 MB        512       1024
  4549.  
  4550. FAT DISKCACHE parms:
  4551.      LAZY WRITES        N/A       LW
  4552.  
  4553. HPFS CACHE parms:
  4554.      LAZY WRITES        /LAZY:ON     N/A
  4555.         MAXAGE        >7,500      N/A
  4556.        DISKIDLE        60,000      N/A
  4557.       BUFFERIDLE        60,000      N/A
  4558.  
  4559. A few more notes: 
  4560.  
  4561.    1. For purposes of the table above, "active" and "passive" are descriptors 
  4562.       for the way a partition is used.  If it is seldom used, it is "passive." 
  4563.       If a lot of disk intensive I/O occurs on the partition, it is "active." 
  4564.  
  4565.    2. The HPFS actually requires 128 to 130K of committed memory as opposed to 
  4566.       the widely perceived 512K.  As cache size increases to 2 MB, this 
  4567.       requirement increases as well, up to a maximum of about 240K. 
  4568.  
  4569.    3. The optimal cache size seems to be 1536. 
  4570.  
  4571.    4. When comparing the relative merits of the HPFS versus FAT, consider the 
  4572.       following:  On partitions of identical size, the HPFS gives you about 15% 
  4573.       more space and performance is about 28% better! 
  4574.  
  4575.    5. Instead of continuing to increase performance, a DISKCACHE value in 
  4576.       excess of 2048 seems to degrade it. 
  4577.  
  4578.  
  4579. ΓòÉΓòÉΓòÉ 14.3. System Tuning ΓòÉΓòÉΓòÉ
  4580.  
  4581. Before covering OS/2 system tuning let's review the concept of threads and how 
  4582. they are used in OS/2. Every program that you run on an OS/2 system will 
  4583. process as one or more threads. 
  4584.  
  4585. A thread is the basic unit of work within OS/2. Each thread requires a minimum 
  4586. of 4K stack space. Stack space is used to save parameters and addresses when 
  4587. different functions are called from a thread. 
  4588.  
  4589. These functions might be reading from or writing to a disk, using semaphores, 
  4590. and other system and program functions. It is important to ensure that you 
  4591. allocate enough stack space for the thread to run. 
  4592.  
  4593. You can use programs such as EXEHDR.EXE to see and modify the stack space 
  4594. allocated for your program. All programs, DOS, Windows and OS/2 use a minimum 
  4595. of one thread. Each thread executes at a given priority. 
  4596.  
  4597. The priority is used by OS/2 to determine which thread gets to run when more 
  4598. than one thread is ready to run. The highest-priority thread ready to run will 
  4599. be the one dispatched by the system and given time to run. It is given what is 
  4600. referred to as a "time slice". This is a set period of time during which a 
  4601. thread is allowed to run. After this time has expired, the highest-priority 
  4602. thread that is ready to run will be given a time slice in which to run. 
  4603.  
  4604. If the same thread still wanted to run, and it was the highest-priority thread, 
  4605. it would receive another time slice to run in. 
  4606.  
  4607. OS/2 programs usually run at normal priority, which is 200. Under program 
  4608. control, the program can change its priority to be server class, 300, or 
  4609. time-critical, 800. 
  4610.  
  4611. It can also change its subclass priority between 0 and 31. A thread that has 
  4612. priority 200 and a subclass of 15 has a higher effective priority than a thread 
  4613. with priority 200 and subclass 0, and therefore runs first. 
  4614.  
  4615. All DOS and Windows applications always run at priority 200. In OS/2 Warp, IBM 
  4616. has added the capability to define the subclass priority for these 
  4617. applications. Care should be taken when using this subclass priority since it 
  4618. may cause other programs to run slower or generate errors in the case of 
  4619. communication applications that do not get the subclass boost. 
  4620.  
  4621. Warp will give OS/2 threads a priority boost for specific types of functions 
  4622. and states. Following are the priority boosts that are received, in descending 
  4623. order: 
  4624.  
  4625.    1. Disk I/O: When an interrupt is received stating that a disk operation has 
  4626.       completed, the thread that processes this state will receive a priority 
  4627.       boost for one time slice to process this interrupt. 
  4628.  
  4629.    2. Starved: In the CONFIG.SYS file, there is a statement MAXWAIT=3. The 
  4630.       number 3 specifies how long a thread can be in the ready-to-run state 
  4631.       without having received time to run. If a thread had been waiting to run 
  4632.       for 3 seconds, its priority would be raised to the Starved priority 
  4633.       level. 
  4634.  
  4635.    3. Keyboard: This is a boost in priority given to a thread when it is 
  4636.       interacting with the system keyboard. Basically, it is for accepting 
  4637.       typed in data. 
  4638.  
  4639.    4. Foreground:  This is a priority boost given to all threads of the program 
  4640.       that owns the active window on the OS/2 screen, the one that is 
  4641.       highlighted. 
  4642.  
  4643.    5. Windowed:  Threads which have windows showing on the display will also 
  4644.       receive a priority boost when drawing or writing into that window. 
  4645.  
  4646.  When a thread is in more than one of these states, the system will combine the 
  4647.  states and give a priority based on the combined states. 
  4648.  
  4649.  For DOS and Windows applications, these priority states do not apply. Instead, 
  4650.  a second thread is used to handle the interrupt, and that thread is given an 
  4651.  interrupt boost.. 
  4652.  
  4653.  Idle class is the other priority class that exists in OS/2. This priority 
  4654.  level runs only when nothing else in the system wants to run. Threads in this 
  4655.  class will not receive any of the state boosts. 
  4656.  
  4657.  If DOS and/or Windows applications are being run, then you should avoid the 
  4658.  use of threads that run in idle class because they will never run but will 
  4659.  take up system space. 
  4660.  
  4661.  
  4662. ΓòÉΓòÉΓòÉ 14.3.1. CONFIG.SYS Settings ΓòÉΓòÉΓòÉ
  4663.  
  4664. These are specific things in the CONFIG.SYS file that you can change to affect 
  4665. the performance of your system. 
  4666.  
  4667. First, we cover those statements that you should NOT modify unless you have a 
  4668. system which has a special use, such as a process control system. An example 
  4669. would be a system used to monitor a manufacturing machine or chemical process, 
  4670. where timing and response time are critical factors. 
  4671.  
  4672.    1. PRIORITY_DISK_IO=YES  This allows the application that has screen focus 
  4673.       to receive a priority boost when it's disk operation is complete. This 
  4674.       applies to the first time slice given to the thread after the disk 
  4675.       operation is complete. After the time slice, the state is reset for the 
  4676.       thread and the priority boost removed. 
  4677.  
  4678.    2. MEMMAN=SWAP,PROTECT  Allows OS/2 to swap code and data to disk when more 
  4679.       memory is needed than is physically available in your computer. If you do 
  4680.       not specify SWAP, you will need enough physical memory in you computer to 
  4681.       hold all the code and data that OS/2 and your application needs to run. 
  4682.       You do not pay a penalty by specifying SWAP and then not needing to use 
  4683.       it. The PROTECT parameter allows Dynamic Link Libraries (DLL) to allocate 
  4684.       protected memory. Protected memory is memory that is protected from being 
  4685.       accessed by unauthorized programs. You can also specify a COMMIT 
  4686.       parameter. This forces the system to ensure that enough physical memory 
  4687.       or swap file disk space is available for a memory object when it is 
  4688.       created. Normally, OS/2 commits physical and disk memory when the page of 
  4689.       memory is actually touched. Specifying this parameter can significantly 
  4690.       increase the amount space your swap file uses on disk. 
  4691.  
  4692.    3. TIMESLICE=X,Y  This statement is not found in the CONFIG.SYS file after 
  4693.       you install OS/2 but is sometimes recommended to be added. This was okay 
  4694.       to add for OS/2 2.0, 2.1 or 2.11 systems, but not for OS/2 Warp. In Warp, 
  4695.       it dynamically modify a thread's time slice based on actions that have 
  4696.       occurred. For instance, if a thread took a page fault during it's time 
  4697.       slice, an extra time slice is granted to process what is contained in the 
  4698.       faulted page. An applications doing disk I/O is given an extra time 
  4699.       slices if the data they are reading is in the disk cache. When the 
  4700.       TIMESLICE parameter is used, none of these actions will occur. Instead, 
  4701.       each thread will be given the minimum time slice of X, and its time slice 
  4702.       will not be allowed to go beyond value Y. 
  4703.  
  4704.    4. PRIORITY=DYNAMIC  If DYNAMIC is not specified, then each thread will 
  4705.       receive a minimum and maximum time slice of 32 milliseconds with no 
  4706.       additional time slices as described in the TIMESLICE= statement 
  4707.       description above. 
  4708.  
  4709.    5. DEVICE=C:\OS2\BOOT\VDISK.SYS  This statement allocates a virtual disk in 
  4710.       your computers physical memory. It is used for quick access to often-used 
  4711.       files and programs. This was good for a DOS environment where the extra 
  4712.       memory in your computer was not used by DOS, but OS/2 uses this memory, 
  4713.       and your performance can be adversely affected if a VDISK is used. It is 
  4714.       much better to increase the size of the disk cache if you have unused 
  4715.       physical memory than it is to use VDISK. 
  4716.  
  4717.  Now let us look at statements in CONFIG.SYS which you should change to help 
  4718.  improve the performance of your Warp system. 
  4719.  
  4720.    1. LIBPATH=  This tells the system where to find DLL files and disk device 
  4721.       drivers that Warp and applications use. Place the directory names in 
  4722.       order of usage. The most accessed directory should be first, the least 
  4723.       used last. If possible, place the DLL used by a program in the same 
  4724.       directory as the working directory when the program is running. Then, you 
  4725.       do not need to add that directory to the LIBPATH statement. Also, place 
  4726.       all directories that are on a network at the end of your LIBPATH 
  4727.       statement in case the network goes down and they cannot be accessed. See 
  4728.       the discussion of dynamic LIBPATH support later on in this paper for 
  4729.       additional considerations when accessing network drives. 
  4730.  
  4731.    2. PATH=  is used to specify where Warp searches for program executable 
  4732.       files, EXE, COM, CMD, BAT, etc.  Place the directories in order of most 
  4733.       used first, least used last. If programs will be executed from an object 
  4734.       on your desktop or folder, specify the path there and not in the PATH 
  4735.       statement. Only place directories in the PATH statement for executables 
  4736.       that will be called from other programs or commands. 
  4737.  
  4738.    3. DPATH=  The same principle applies to DPATH as PATH and LIBPATH.  For 
  4739.       resources that applications use, place the most used directories first 
  4740.       and the least used last. 
  4741.  
  4742.    4. BUFFERS=90  Buffers are physical memory used to support partial sector 
  4743.       reads and writes in a FAT file system environment. They are also used to 
  4744.       cache FAT directory entries and for swap file disk I/O. Because BUFFERS 
  4745.       are used to cache FAT directory entries, this number should not be 
  4746.       reduced below 60, unless you are not using the FAT file system on your 
  4747.       disks. Reducing this number will increase the number of disk reads that 
  4748.       are done to the FAT directory entries and therefore slow down your 
  4749.       system. 
  4750.  
  4751.    5. MAXWAIT=3  This specifies the maximum amount of time that a thread will 
  4752.       be in a ready-to-run state without receiving a time slice to run in. 
  4753.       After this time expires, the thread will be given a boost in priority so 
  4754.       it gets a chance to run. Reducing this value to 2 may help in systems 
  4755.       where there are a lot of programs running, or multiple separate 
  4756.       DOS/Windows programs running. Reducing it to 1 on systems where there is 
  4757.       swap activity taking place can slow down the system. 
  4758.  
  4759.    6. DISKCACHE=D,LW,T,AC  This is used to specify the amount of physical 
  4760.       memory set aside to cache data that is being read from or written to 
  4761.       disk. D represents a dynamic disk cache value that varies in size from 
  4762.       48K to 14400K, based on the amount of physical memory you have in your 
  4763.       system. If you have more than 8 MB in your system, D will be 10% of your 
  4764.       system's physical memory. The D should be changed to the actual amount of 
  4765.       disk cache space you require. If you have a system where your programs do 
  4766.       not do much disk I/O or where your memory is being used up by your 
  4767.       applications, you may want to set this value to 128. Also, reduce this 
  4768.       value if you are using the DB/2 product or any other product that 
  4769.       provides its own disk data caching. The T parameter is not defined in the 
  4770.       default CONFIG.SYS file. It defines the  cache threshold for records that 
  4771.       go into the cache. The default value is 4. This means that any record 
  4772.       that is 4 sectors or less will go into the cache, while those greater 
  4773.       will not. If your disk cache size is 128K or larger, add this parameter 
  4774.       to the disk cache statement. If known, set this value to the largest 
  4775.       record size used. Otherwise, set the value to 32. The LW parameter 
  4776.       activates the Lazy Write or write behind feature. This allows the 
  4777.       application to get control back before the data is actually written to 
  4778.       disk. A separate thread will write the data from the cache to the disk 
  4779.       when necessary or opportune to do so. You should always use this option, 
  4780.       and code any applications to open files with cache bypass option if disk 
  4781.       data security is imperative. 
  4782.  
  4783.    7. SWAPPATH=D,R,S  SWAPPATH specifies where code and data pages are swapped 
  4784.       to on disk when more physical memory is needed than is available in your 
  4785.       system. D represents the path where your SWAPPER.DAT file is located. For 
  4786.       systems which have multiple partitions or multiple disks, this should be 
  4787.       placed on the least used  directory of the least used disk. Also, try to 
  4788.       physically locate the swap file on the disk based on its usage. If you 
  4789.       are doing a lot of swap activity, place the swap file at the start of the 
  4790.       disk. If is it rarely used, place it at the end. S is the size that the 
  4791.       swap file is initialized to when you start your Warp system. Make this 
  4792.       large enough so that it does not have to grow in size while you are 
  4793.       running your programs. You should perform your normal computer functions 
  4794.       and look at the size of the swap file when you have the most activity. 
  4795.       Then set the value of the S to this size in the CONFIG.SYS file. If you 
  4796.       are using the FAT file system, IPL your system under DOS, delete the 
  4797.       SWAPPER.DAT file, defragment the disk partition where the swap file will 
  4798.       be located, and then IPL your OS/2 system. This should keep your swap 
  4799.       file from getting fragmented. R specifies the amount of free space that 
  4800.       must be in the swap file. The default for this value is adequate and only 
  4801.       needs to be changed if you want to be warned earlier about a possible 
  4802.       out-of-memory situation. 
  4803.  
  4804.    8. THREADS=  THREADS defines how many threads the system will be able to 
  4805.       use.  One page of resident memory is need for approximately every 32 
  4806.       threads that are defined. As a minimum, you will need 80 threads to 
  4807.       support the base Warp system and 3 or 4 OS/2, DOS and or Windows 
  4808.       applications. The system will support up to 64000 threads, but typically 
  4809.       you will not have enough memory in your system to support more than 300 
  4810.       to 500 threads. 18 threads are required for LAN Server 4.0. To calculate 
  4811.       the number of threads that you will need in your system, use the formula 
  4812.       54+(2xN)+10 where N is the number of programs that you will run together. 
  4813.       If the program requires more than 2 threads, add in the additional 
  4814.       threads. 
  4815.  
  4816.  Additional CONFIG.SYS Considerations: 
  4817.  
  4818.    1. You should only install the devices drivers that your programs actually 
  4819.       need to run. 
  4820.  
  4821.    2. Do not install extra communication, printer, video or device drivers if 
  4822.       they will not be used. Below are a list of device drivers and virtual 
  4823.       device drivers that are normally found in CONFIG.SYS and that may not be 
  4824.       needed. (Virtual device drivers are used to support DOS and Windows 
  4825.       applications and usually have a V at the beginning of their name.) 
  4826.  
  4827.         a. VEMM.SYS  Used to support Expanded Memory use in DOS and Windows 
  4828.            programs. 
  4829.  
  4830.         b. VXMS.SYS  Supports Extended Memory in DOS and Windows applications. 
  4831.  
  4832.         c. VDPMI.SYS  Supports the DPMI memory access and is required to 
  4833.            support all Windows applications. 
  4834.  
  4835.         d. VW32S.SYS  Supplies support for the WIN32S Windows APIs. Not needed 
  4836.            for Windows programs that do not use WIN32S APIs. 
  4837.  
  4838.         e. IBMxFLPY.ADD  x will be either a 1 or a 2. 1 is used for family 1 
  4839.            machines and 2 is for MCA machines. You do not need both. 
  4840.  
  4841.         f. XDFLOPPY.FLT  This is required for reading diskettes which are 
  4842.            written using the XDF (Extended Disk Format) format. These are 
  4843.            usually OS/2 and PCDOS 7 installation diskettes, printer and video 
  4844.            driver diskettes. The Warp Install and Disk 1 diskettes do not use 
  4845.            the XDF format. 
  4846.  
  4847.         g. COM.SYS and VCOM.SYS are only required if you will be doing serial 
  4848.            or async  communications. 
  4849.  
  4850.  If you use the selectable CONFIG.SYS option in the Archive and Retrieve 
  4851.  feature of Warp, it is possible to create multiple CONFIG.SYS files which will 
  4852.  contain different device drivers based on your needs. For example, you could 
  4853.  create one CONFIG.SYS file that is used for maintenance and installation. This 
  4854.  one would include the XDFLOPPY.FLT and both IBMxFLPY.ADD drivers plus 
  4855.  additional threads. Another CONFIG.SYS used for normal processing could have 
  4856.  these device drivers removed and a lower number of threads. When maintenance 
  4857.  has to be applied to the system, or some additional new products installed, 
  4858.  you could IPL the machine with the Archive and Retrieval menu active and 
  4859.  select the proper CONFIG.SYS to be used. An extension of this would be to 
  4860.  archive the CONFIG.SYS and the OS/2 INI files and select those to apply 
  4861.  maintenance. 
  4862.  
  4863.  Note:  DO NOT assume that the Archive and Retrieve feature of Warp acts as a 
  4864.  means to backup the desktop. In the event of a complete disk failure, only 
  4865.  backup images stored off line can be depended upon. 
  4866.  
  4867.  
  4868. ΓòÉΓòÉΓòÉ 14.3.2. Desktop Settings ΓòÉΓòÉΓòÉ
  4869.  
  4870. Let's look at some of the System Settings and Desktop settings that can be 
  4871. tuned to improve a system's performance. In the System Setup Folder there are 
  4872. many utilities that are available. 
  4873.  
  4874. Add "SET RESTARTOBJECTS=STARTUPFOLDERSONLY" in your CONFIG.SYS to keep OS/2 
  4875. from restarting at bootup all previous open application. 
  4876.  
  4877. Spooler:  The drop-down menu provides an option to disable the spooler. This 
  4878. can be done without problems when only one job will be active on your printer 
  4879. at a time. This will save a little bit of memory and one process and thread in 
  4880. your system. If you have a dedicated print spool machine, then you should raise 
  4881. the priority of the spooler to it's highest point. For non-dedicated print 
  4882. spool systems, the priority should remain at the default. You would only 
  4883. increase this if (for example) you raised the subpriority of a DOS session and 
  4884. wanted to print documents while running the DOS session. In this case, you 
  4885. would want to make the priority of the print spooler the same as the DOS 
  4886. session. 
  4887.  
  4888. Schemes and Color Palette:  You should use solid colors and avoid the use of 
  4889. bitmaps for desktop and folder backgrounds when conversing memory. These 
  4890. particular options use more memory and require more processing time to display 
  4891. them. 
  4892.  
  4893. Sounds:  Deselect the System Sounds options, unless you like the noises when 
  4894. opening and closing your folders. It costs between 250 and 300K in working set 
  4895. just to hear the noise. An additional 40K or so of working set can be saved by 
  4896. executing DINSTSND.CMD in an OS/2 command session. This will unhook the system 
  4897. sounds from the OS/2 desktop. To get them back, you would execute INSTSND.CMD. 
  4898.  
  4899. Font Palette:  Only install the fonts that you will actually use in your 
  4900. system. Also, try not to mix fonts in folders or on the OS/2 Desktop. If you 
  4901. do, you will be using extra memory. Outline fonts tend to be a little smaller 
  4902. in terms of memory than bitmap fonts and once they are in the cache, they 
  4903. perform just as fast. 
  4904.  
  4905. WIN-OS/2:  When defining a Windows program, select common sessions and make DDE 
  4906. and Clipboard support both private. If floating-point is used in your Windows 
  4907. applications, use the enhanced run mode for Windows. Also, if you have a 
  4908. Windows application that you always run, it is better to start it via the 
  4909. Startup Folder than to use the Fast Load option and start it from the Desktop. 
  4910. Finally, ensure that when you migrate, install or add Windows programs to you 
  4911. system, that the run mode for these is the same as the common session run mode. 
  4912. If run modes are different, then you will have two separate Windows sessions 
  4913. running even though you stated that a common session is to be used. 
  4914.  
  4915. System Setup:  Disabling the Animation and Print Screen option can save a 
  4916. little in code path and memory. Setting the System Logo option to none can save 
  4917. some time when loading applications that check this parameter to see how long 
  4918. to display their applications logo. The type-ahead option will use a little 
  4919. more memory. When selecting screen resolutions, remember that the higher the 
  4920. resolution, the more memory that is used.  Very high resolution and color 
  4921. support can require 100 to 200K of physical memory. 
  4922.  
  4923. Mouse:  Mouse pointers are basically bitmaps. The amount of memory used will be 
  4924. affected by which mouse pointer style you choose. If you activate the comet 
  4925. cursor, this will cost additional memory and processing time whenever the mouse 
  4926. is being used. 
  4927.  
  4928. Desktop Settings:  Desktop settings are selected by choosing the Settings 
  4929. option on the Desktop menu. Choosing Automatic Lockup will cause extra code 
  4930. path and processing time to occur. Normally this is very minimal, until the 
  4931. time-out value expires. Then you are looking at about 40 to 50K of working set. 
  4932. If you select Create Archive on system restarts, this will slow down your 
  4933. systems IPL time. You want to set this option only when you have changed your 
  4934. desktop and/or configuration and want to save it. Once it has been saved, turn 
  4935. this option off. You can get to the Archive Retrieve menu screen when you IPL 
  4936. your machine by using the ALT+F1 key sequence. 
  4937.  
  4938. Conclusion: 
  4939.  
  4940.    1. All the bells and whistles, neat features, applications and devices come 
  4941.       at a cost. They all cost disk space, they all use memory, and they all 
  4942.       have the potential for slowing your system down. 
  4943.  
  4944.    2. To minimize this, plan ahead. Decide what the system will be used for and 
  4945.       what your future uses will be. Then, set up the system accordingly. 
  4946.  
  4947.    3. Install only the things that you are actually going to use and need. 
  4948.       Ensure that there is a match between the software you install and the 
  4949.       hardware you install it on. 
  4950.  
  4951.    4. If an application or feature cost more memory than you have, either don't 
  4952.       install the feature, or get more memory for your system. 
  4953.  
  4954.    5. Be creative and logical. You can set the system up with different 
  4955.       configurations and different support, defined to optimize performance 
  4956.       based on the particular functions you perform and applications you use. 
  4957.  
  4958.    6. Finally, become aware of what Warp has to offer and use it to your 
  4959.       advantage. 
  4960.  
  4961.  
  4962. ΓòÉΓòÉΓòÉ 15. Glossary ΓòÉΓòÉΓòÉ
  4963.  
  4964.    1. Virtual Memory refers to the concept that available disk space is used to 
  4965.       hold inactive memory while demanding active memory can be serviced. This 
  4966.       is managed in cooperation by both the operating system (OS/2) and the 
  4967.       CPU. OS/2 deploys and takes advantage of a true Virtual Memory model by 
  4968.       using the OS/2 Swap file for temporarily holding over-committed and 
  4969.       inactive memory. 
  4970.  
  4971.    2. Swapping is a normal activity for any computer. A machine with little 
  4972.       memory (ie. 8 MB) may experience heavy "swapping". This occurs when the 
  4973.       operating system spends (more) time swapping than allowing actual work to 
  4974.       be done by the user. Install more memory. Following the Least Recently 
  4975.       Used (LRU) algorithm, OS/2 memory management will identify individual 4 
  4976.       KB memory pages as being "swappable". When not enough REAL memory is 
  4977.       present for more demanding memory pages, OS/2 swaps-out the least used. 
  4978.  
  4979.    3. Real Memory refers to the amount of physical memory installed in the 
  4980.       computer and is used in comparison to Virtual Memory. 
  4981.  
  4982.    4. Free Memory refers to the amount of actual free REAL memory available to 
  4983.       OS/2 and OS/2 programs. This will never be shown as a number higher than 
  4984.       the amount of physical memory installed in the computer. 
  4985.  
  4986.    5. Resident Memory refers to the amount of REAL memory which is not 
  4987.       swappable nor discardable usually belonging to the operating system 
  4988.       (OS/2) or applications which created the memory as non-swappable. For 
  4989.       performance reasons, the operating system will maintain critical and 
  4990.       highly active memory as Resident memory. 
  4991.  
  4992.    6. Swappable Memory refers to the amount of REAL memory which is identified 
  4993.       as noncritical or Least Recently Used (LRU algorithm) memory pages 
  4994.       capable of being swapped-out to the OS/2 swapper file until the memory is 
  4995.       in demand. The term is synonymous with "discardable" memory. 
  4996.  
  4997.    7. Print Spooler is a facility which facilitates directing print output to a 
  4998.       particular print queue without having to wait for the printer to receive 
  4999.       and print the output. 
  5000.  
  5001.    8. Print Queues are an intermediate holding place for print jobs. Related to 
  5002.       the Print Spooler, there is a 1-to-1 relationship between a Print Queue 
  5003.       and a physical printer. When a print job gets spooled into a particular 
  5004.       print queue, the print job can be automatically printed, place on hold, 
  5005.       or subsequently released for printing. 
  5006.  
  5007.    9. Process refers to 1 instance of an executing program. Every Process is 
  5008.       assigned a unique ID (hence Process ID or PID) by the operating system 
  5009.       (OS/2). Every Process ID has at least 1 Thread. A process can launch 
  5010.       another process. This makes the launching process the parent and the 
  5011.       launched process the child. Hence Parent Process ID or PPID. 
  5012.  
  5013.   10. Threads are functions created by a Process and execute asynchronous to 
  5014.       the Process.  A Process has by default 1 thread, but can create many. 
  5015.       Threads of a process have a finite life and terminate when the main 
  5016.       process ends. Every Thread is assigned a unique ID (hence Thread ID or 
  5017.       TID) by the operating system (OS/2). Each thread will have a "state" 
  5018.       which identifies whether the thread is active or waiting for a time slice 
  5019.       to be granted by OS/2. 
  5020.  
  5021.   11. Sessions are unique instances of a process which have a "screen group". A 
  5022.       Process with a Screen Group has a virtual keyboard, screen, and mouse. 
  5023.       Unlike "Detached" (Daemon) processes which execute completely in the 
  5024.       background, have no form of user input or output and are not always 
  5025.       visible to the user. When a process within a Session launches another 
  5026.       process asynchronously, the child process is assigned a unique Session ID 
  5027.       or SID. Launched synchronously, the child process inherits the same 
  5028.       Session ID as the parent. 
  5029.  
  5030.   12. Process Monitor allows the user to view the many attributes associated 
  5031.       with 1 or more Processes and their respective Threads. OS/2 maintains a 
  5032.       "Process Table" to keep track of all the processes and threads executing. 
  5033.       PM Patrol provides a very robust Process Monitor facility. Every possible 
  5034.       process and thread attribute can be monitored. 
  5035.  
  5036.   13. Time Slice refers to the operating system (OS/2) granting a process 
  5037.       thread a certain amount of CPU execution time in a multitasking 
  5038.       environment. This capability allows the user to work simultaneously on 
  5039.       many tasks. A Process can set his priority level so that OS/2 will grant 
  5040.       more time, more often. This granting of time slices is known as the 
  5041.       "Scheduler" in an operating system. 
  5042.  
  5043.   14. The OS/2 Scheduler is a very robust algorithm and integral operating 
  5044.       system component capable of servicing time critical applications in the 
  5045.       most demanding real-time environments. This, combined with stability, 
  5046.       connectivity, and maturity is why OS/2 is useful for mission critical 
  5047.       systems. 
  5048.  
  5049.   15. Preemptive Multitasking in OS/2 provides the ability to "preemptively" 
  5050.       interrupt one process without it's knowledge or control to allow another 
  5051.       process a time slice. DOS+Windows and Windows-95 attempt to preemptively 
  5052.       multitask, but suffer from architectural flaws which render them more 
  5053.       "cooperative" multitasking operating systems. True preemptive 
  5054.       multitasking operating systems such as OS/2, Windows NT, and UNIX, lend 
  5055.       themselves to mission critical and time sensitive applications. 
  5056.       Multimedia is a good example of a time sensitive application. 
  5057.  
  5058.  
  5059. ΓòÉΓòÉΓòÉ 16. Trouble Shooting ΓòÉΓòÉΓòÉ
  5060.  
  5061. This section discusses topics of potential difficulty, compatibility, and 
  5062. idiosyncrasies of PM Patrol features. Everyone should read this section. 
  5063.  
  5064. The Float to Top option does not work when the E.EXE editor is active or causes 
  5065. a 3175 error. Due to a bug in the E.EXE editor under OS/2 version 2.1 and 2.11, 
  5066. PM Patrol temporarily disables the "Float to Top" option while E.EXE is the 
  5067. active window. This bug in E.EXE is fixed in OS/2 Warp 3.0.  If this problem 
  5068. surfaces: 
  5069.  
  5070.    1. Change the "Process Monitors" in PM Patrol's "Refresh Settings" to a 
  5071.       lower value such as 3 or 4 seconds. 
  5072.  
  5073.    2. Or, turn off the "Float to Top" in the PM Patrol "Options" dialog. 
  5074.  
  5075.  A running program's priority is different than that specified in the Program 
  5076.  Launcher or Scheduler. 
  5077.  
  5078.  Note:  Once launched, a program can change it's own priority Class and Range 
  5079.  settings. This means that PM Patrol sets the program's "default" priorities 
  5080.  with those that you select, but does not control it after the program has been 
  5081.  launched. A good example of this is running Windows programs. The Win-OS/2 
  5082.  environment will typically change the priority to "Regular" for both Class and 
  5083.  Range. Therefore, Windows programs can NOT be controlled by PM Patrol for 
  5084.  priority control. 
  5085.  
  5086.  Free Memory ALWAYS reports 0 KB or maximum KB available: 
  5087.  
  5088.    1. OS/2 views memory as a flat linear address space and deploys a true 
  5089.       Virtual Memory Model. Because of this, calculation of Free Memory is 
  5090.       subject to the following constraint. 
  5091.  
  5092.       Note:  If your system hardware consists of MORE than 16 MB of memory and 
  5093.       the hard disk controller is a 16-bit adapter, Free Memory calculation may 
  5094.       not be accurately reported. Use a 32-bit disk controller when more than 
  5095.       16 MB RAM is installed. 
  5096.  
  5097.  When printing, the output is garbled or incorrect: The PM Patrol Port Monitor 
  5098.  is active by default and monitors the print stream. There may be cases when 
  5099.  printing with the OS/2 Spooler disabled where you might experience these 
  5100.  symptoms. To remedy this, run PM Patrol without the Port Monitor active by 
  5101.  specifying the command-line parameter "-P" when starting PM Patrol. If the 
  5102.  problem persists, it's not being caused by PM Patrol. Check your print driver. 
  5103.  
  5104.  Using another CPU monitor program causes questionable CPU results to be 
  5105.  reported by PM Patrol: The PM Patrol CPU monitor is designed to co-exist with 
  5106.  other CPU monitors. However, there may be an occasion where you might 
  5107.  experience a problem. This is nothing against PM Patrol or other CPU monitors, 
  5108.  it's just the nature of the monitor and how a CPU monitor works. They are not 
  5109.  designed to "compete" with each other. PM Patrol is "aware" of other CPU 
  5110.  monitors when they are active such as (Pulse, SPM/2, and several others). The 
  5111.  first recommendation would be not to run more than 1 CPU monitor at a time, 
  5112.  but please report the problem to WallyWare. 
  5113.  
  5114.  Not all Monitor display items can fit on the PM Patrol Status Line: 
  5115.  
  5116.    1. PM Patrol does not expect anyone user to desire ALL PM Patrol monitors on 
  5117.       the Status Line at once and therefore does not attempt to claim they all 
  5118.       fit. However, there are a number of things that can help. 
  5119.  
  5120.    2. Enable the "Display Compact" option under "Status Line Options" of PM 
  5121.       Patrol. When enabled, all Status Line abbreviations such as "Ram", "Swp", 
  5122.       "Net", and others are removed. This option was specifically designed to 
  5123.       address this issue. 
  5124.  
  5125.    3. Depending on the font you have selected, this may be true. Try using a 
  5126.       smaller font - perhaps a VIO style font. The 2.VIO font is the smallest 
  5127.       font for a VGA system. 
  5128.  
  5129.    4. Using the "Show Decimal" option for Status Line monitors, turn this 
  5130.       option off allowing PM Patrol to round values and will free-up some 
  5131.       Status Line space. 
  5132.  
  5133.    5. Another option is to turn off the "Graphical" display of free memory or 
  5134.       CPU usage. This will then display the numeric values only. 
  5135.  
  5136.    6. If there are a lot of drives on-line, turn off the "Drives On-line" 
  5137.       monitor of PM Patrol. 
  5138.  
  5139.  PM Patrol displays Drive B when no physical Drive B exists: OS/2 supports two 
  5140.  "logical" floppy drives. A and B, even if drive B is nonexistent. In fact, if 
  5141.  you were to type "Dir B", OS/2 will prompt you to insert a diskette into drive 
  5142.  B. This demonstrates 1 physical but 2 logical drives. 
  5143.  
  5144.  Your system seems to constantly show excess CPU usage via the PM Patrol CPU 
  5145.  monitor: 
  5146.  
  5147.    1. It's not unusual with today's diverse software, multimedia, and the 
  5148.       ability to run DOS/Windows under OS/2, to see constant CPU usage. Use the 
  5149.       PM Patrol Process Monitor window to identify culprits of CPU activity. 
  5150.  
  5151.    2. Check to make sure the PM Patrol refresh rates found in "Refresh 
  5152.       Settings" are not set at their absolute most minimum values. These 
  5153.       minimum values can be too aggressive on 386-33 MHz systems (or less). 
  5154.  
  5155.    3. Make sure your not running another CPU monitor in addition to PM Patrol. 
  5156.       If you must, turn off the "CPU Monitor" in the PM Patrol "Options" 
  5157.       dialog. 
  5158.  
  5159.  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, and 
  5160.  Network Monitor) active and automatically refreshing, may be too much overhead 
  5161.  for some slower 386 class computers. Therefore, you may need to use these 
  5162.  windows selectively and not continuously. 
  5163.  
  5164.  Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  5165.  Patrol's calculation of free swap space is an approximation and may not result 
  5166.  in an exact calculation all the time. As compared to all PM Patrol's resource 
  5167.  monitors, swap utilization is the only one that may yield approximation. For 
  5168.  systems that are memory rich and therefore swap little, monitoring swap 
  5169.  utilization may not be necessary. 
  5170.  
  5171.  
  5172. ΓòÉΓòÉΓòÉ 17. Caveats ΓòÉΓòÉΓòÉ
  5173.  
  5174. PM Patrol is designed with special attention to performance and causes no 
  5175. system degradations when properly used. 
  5176.  
  5177. The PM Patrol defaults and minimum allowable settings for "Refresh Settings" 
  5178. protects you from system-wide degradation. However, setting the refresh rates 
  5179. at their minimum values may be too aggressive for some low-end computers. The 
  5180. overhead for PM Patrol is no more than 1-2 percent CPU load (average over 1 
  5181. minute) and only during resource sampling. 
  5182.  
  5183. Note:  The CPU effort to collect Process Meter data, although minimal when 
  5184. active, can be negatively influenced by adjusting the "Process Monitors" 
  5185. frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  5186. computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  5187. following, but never lower: 
  5188.  
  5189.    1. 5 seconds for i386 class computers 
  5190.  
  5191.    2. 4 seconds for i486 class computers 
  5192.  
  5193.    3. 3 seconds for Pentium class computers 
  5194.  
  5195.  The Process Monitor, Memory Monitor, and Network Monitor windows create minor 
  5196.  delays in the form of brief CPU spikes. These spikes are normal and can be 
  5197.  further controlled in the PM Patrol "Refresh Settings". 
  5198.  
  5199.  Note:  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, 
  5200.  and Network Monitor) active and automatically refreshing, may be too much 
  5201.  overhead for some slower 386 class computers. Therefore, you may need to use 
  5202.  these windows selectively and not continuously. 
  5203.  
  5204.  As with all our products, we are committed to supporting and enhancing PM 
  5205.  Patrol. Due to the nature of some of the PM Patrol features (i.e. Process 
  5206.  Monitor and Process Meter) and it's unique application, compatibility with 
  5207.  future versions of OS/2 can not be 100% guaranteed. 
  5208.  
  5209.  
  5210. ΓòÉΓòÉΓòÉ 18. What's New and Version History ΓòÉΓòÉΓòÉ
  5211.  
  5212. This section outlines a historical record of new features and enhancements 
  5213. applied to the PM Patrol product. 
  5214.  
  5215. We're on the Web. You can ALWAYS get the latest version of PM Patrol from our 
  5216. WallyWare Internet Web site at http://homepage.interaccess.com/~wally and send 
  5217. Internet e-mail to wally@interaccess.com. 
  5218.  
  5219. These items are new in PM Patrol version 4.2d: 
  5220.  
  5221.    1. Added support for the In-Joy Internet access dialer to PM Patrol's INet 
  5222.       Connect Time monitor. The In-Joy software can be obtained from the 
  5223.       authors website at http://www.belle.dk/~bj/dialer.html. Version 0.07 or 
  5224.       higher is necessary. 
  5225.  
  5226.  These items are new in PM Patrol version 4.2c: 
  5227.  
  5228.    1. Fixed problem with monitoring remote spooler queues for LAN Server 4.0 
  5229.       and Warp Server environments. 
  5230.  
  5231.    2. For PM Patrol's Swap Growth event monitor, the default threshold limit 
  5232.       for swap growth is now set to the initial size of the OS/2 swap file (per 
  5233.       the Config.Sys "swappath=" directive), plus 2 megabytes. Each time PM 
  5234.       Patrol is started, it will check for the condition where the setting for 
  5235.       the threshold limit is less than initial swap file size and make the 
  5236.       necesssary adjustment to this setting as described above. 
  5237.  
  5238.    3. Added new Command-line utility to assist in PM Patrol installations. The 
  5239.       "PMPReg" utility is provided with PM Patrol to allow command-line 
  5240.       registration of the product and is useful under situations which require 
  5241.       setup or configuration of PM Patrol for pre-loads, batch, and/or remote 
  5242.       setup. 
  5243.  
  5244.  These items are new in PM Patrol version 4.2b: 
  5245.  
  5246.    1. A compatability problem with PM Patrol's CPU monitor and Lotus 
  5247.       SmartCenter has been fixed. The Status Line overall CPU load and the 
  5248.       Process Monitor now report correct CPU load with SmartCenter 
  5249.       co-existance. This fix is necessary for Merlin compatability. A special 
  5250.       thanks to Jon for assisting with this problem resolution. 
  5251.  
  5252.    2. Added Reflect Reserved in VRam. This option provides the ability to have 
  5253.       the Free Virtual Memory calculation reflect (or not reflect) the reserved 
  5254.       disk space as specified in the "swappath" directive of your OS/2 
  5255.       Config.Sys. This new option is located under PM Patrol's General 
  5256.       Settings. 
  5257.  
  5258.    3. Added Reflect Free RAM in VRam. This option provides the ability to have 
  5259.       the Free Virtual Memory calculation reflect (or not reflect) free Real 
  5260.       memory in the calculation of Free/Used Virtual memory. Ones definition of 
  5261.       Virtual Memory may or may not include Real Memory into the calculation. 
  5262.       This option provides you the ability to select your choice of definition. 
  5263.  
  5264.    4. Added new startup command-line parameter. Use the "-N" Parameter to 
  5265.       disable network traffic I/O monitoring for the workstation. 
  5266.  
  5267.    5. A minior bug with the PM Patrol Scheduler has also been fixed. PM 
  5268.       Patrol's Scheduler requires that the Process Meter be active and is now 
  5269.       automatically activated when 1 or more Scheduler task(s) exist. 
  5270.  
  5271.  These items are new in PM Patrol version 4.2a: 
  5272.  
  5273.    1. The Inverted option introduced in version 4.1 has been enhanced to allow 
  5274.       individual selection of which monitors to invert. This one's for you 
  5275.       Noah. 
  5276.  
  5277.    2. Fixed non-critical problem in Spooler Monitor where a large number of 
  5278.       print queues could cause PM Patrol to exhaust its buffers. 
  5279.  
  5280.    3. The Spooler Purge, Release, and Hold operations in PM Patrol now support 
  5281.       up to 20 print queues. 
  5282.  
  5283.    4. The Program Scheduler and Program Launcher lists are now sorted for 
  5284.       easier viewing - finally. 
  5285.  
  5286.  These items are new in PM Patrol version 4.2: 
  5287.  
  5288.    1. The Event Monitor will now allow monitoring for drive free space when the 
  5289.       particular drive hasn't been selected for display on the Status Line. 
  5290.       This allows you to be notified via the Event Monitor of low disk space 
  5291.       w/o seeing the drive on the Status Line (aka. Background monitoring). 
  5292.       When and if a drive under Event Monitoring goes offline, no notification 
  5293.       will be given regarding free space. Notification is, however, provided on 
  5294.       the PM Patrol Status Line for a given drive which has been selected for 
  5295.       Status Line display. 
  5296.  
  5297.    2. Performance Improvements were made to the Data Collection engine which 
  5298.       services the Process Meter and Scheduler facilities in PM Patrol. 
  5299.  
  5300.    3. The parsing of the Security Password in PM Patrol now strips off leading 
  5301.       spaces for those who have gotton themselves accidently locked-out. 
  5302.  
  5303.    4. The Scheduler built into PM Patrol now provides better termination 
  5304.       settings.  Hours and minutes may now be specified for the termination of 
  5305.       a scheduled program. 
  5306.  
  5307.    5. The Scheduler built into PM Patrol now supports the ability to terminate 
  5308.       a process after a specified duration of time (minutes). See online help 
  5309.       section of the Scheduler for details. 
  5310.  
  5311.    6. The Scheduler will now log via the PM Patrol DBug facility all programs 
  5312.       started, shutdown, or terminated (killed). This assumes DBug has been 
  5313.       started as well. With this enhancement, the DBug facility can now be used 
  5314.       for logging Scheduled programs. 
  5315.  
  5316.    7. Fixed problem in Scheduler where, based on the scheduled date/time 
  5317.       settings, a scheduled job could launch more than 1 instance. A pop-up 
  5318.       message and a DBug are now generated, warning that an instance of the 
  5319.       process is already active. 
  5320.  
  5321.    8. Any program started from the PM Patrol Program Launcher will now also get 
  5322.       logged via the DBug facility. This assumes DBug has been started as well. 
  5323.  
  5324.    9. Fixed a bug in the PM Patrol parser. Config.sys statements containing 
  5325.       leading spaces were not being properly parsed. 
  5326.  
  5327.   10. Removed the Scheme Palette option from PM Patrol's menu options until the 
  5328.       problem associated with this item is resolved. The problem: When selected 
  5329.       from PM Patrol's menu, the default Scheme Palette would get invoked. 
  5330.       Customized Schemes would sometimes appear lost. 
  5331.  
  5332.   11. Enhanced the Installation program addressing fail-safe and file copy 
  5333.       issues. 
  5334.  
  5335.   12. The Auto-Save Profile option introduced in version 4.1 also introduced a 
  5336.       problem where this option would remain enabled - regardless of the user's 
  5337.       selection. The ramification effects power-managed computers so that disk 
  5338.       drives never power-down automatically. 
  5339.  
  5340.   13. Added the ability to specify the number of minutes before an Auto-Save 
  5341.       Profile is performed. The default is 15 minutes, but can range from 1 
  5342.       minute to 8 hours. This option is located in the General Settings window. 
  5343.  
  5344.   14. The Show Inverted option introduced has been enhanced to include Virtual 
  5345.       Memory as well. This option allows you to "invert" or reverse how the 
  5346.       Virtual Memory and graph is shown on the Status Line to reflect resource 
  5347.       taxation similar to PM Patrol's CPU monitor. 
  5348.  
  5349.   15. Added Show Open Files option for the Process Summary monitor on the PM 
  5350.       Patrol Status Line. Some like to see it, and some don't. So, here's the 
  5351.       option. 
  5352.  
  5353.   16. The Show Percent option on PM Patrol's Status Line has been removed and 
  5354.       replaced with individual "Percent" options for each of the monitor items 
  5355.       including Swap, Resident RAM, Real RAM, and Virtual RAM. These individual 
  5356.       "Percent" options are located on PM Patrol's Options window and now 
  5357.       provides more flexability in customizing display options. 
  5358.  
  5359.   17. The Internet Connect-Time is now refered to as INet Connect-Time. Prior 
  5360.       to 4.2, the "Accumulative Internet" option was accessed via the General 
  5361.       Settings window. It has been relocated to PM Patrol's Options window and 
  5362.       is called Show Total INet which will show total Internet Connect-Time in 
  5363.       addition to the per instance connect-time. With this option, you can now 
  5364.       see total Internet Connect-Time at the same time as the per-instance 
  5365.       connect-time. 
  5366.  
  5367.   18. The INet Connect-Time bug fixed in version 4.0 was resetting to zero for 
  5368.       per-instance connections prematurely while not allowing the user to see 
  5369.       the total time after disconnection. This has been fixed. This 
  5370.       connect-time is now reset to zero when a new connection is established. 
  5371.       Thus, allowing the user to see what the last Internet Connect-Time was 
  5372.       before re-connection. 
  5373.  
  5374.   19. Added Show Inverted option. By default, PM Patrol shows Swap and Real RAM 
  5375.       in terms of "Free" or available resource on the Status Line. This option 
  5376.       allows you to "invert" or reverse how these monitors and graphs are shown 
  5377.       on the Status Line to reflect resource taxation similar to PM Patrol's 
  5378.       CPU monitor. 
  5379.  
  5380.   20. The Show Percent option now effects both Swap and Real RAM monitors on 
  5381.       the Status Line. When selected, both Swap and Real RAM will show the 
  5382.       percentages. Prior to 4.2, only Swap was effected. 
  5383.  
  5384.   21. Bug fix in Virtual Memory calculation. 
  5385.  
  5386.   22. Added Reflect Free Swap in VRam. This option provides the ability to have 
  5387.       the Free Virtual Memory calculation reflect (or not reflect) free OS/2 
  5388.       swap space from the swap file (swapper.dat). When enabled, the Free 
  5389.       Virtual RAM (VRam) calculation will reflect a more accurate and actual 
  5390.       reading. This new option is located in PM Patrol's General Settings 
  5391.       dialog. 
  5392.  
  5393.  These items are new in PM Patrol version 4.1: 
  5394.  
  5395.    1. New PM Patrol ShutDown command-line utility (PMPSDOWN.EXE) which provides 
  5396.       a mechanism to shutdown PM Patrol after a specified amount of time 
  5397.       (seconds). 
  5398.  
  5399.    2. New Message Box Popup command-line utility (MSGBOX.EXE) which can be 
  5400.       invoked from the Scheduler to popup a message at a specific time. Lots of 
  5401.       options for this. Refer to the "Command Line Utilities" help section for 
  5402.       details. 
  5403.  
  5404.    3. PM Patrol can now be accessed without the use of a mouse. Using Ctrl-Esc 
  5405.       to get the OS/2 Window List, then selecting the "PM Patrol Status Line". 
  5406.       At this point, pressing F12 will get you to the PM Patrol Options window. 
  5407.       F11 will invoke PM Patrol's Utility Popup. 
  5408.  
  5409.    4. PM Patrol now looks for the COMSPEC environment variable to identify the 
  5410.       correct OS/2 Command Shell Interpreter. Typically this will point to 
  5411.       CMD.EXE. But for those 4OS2 and MKS Toolkit Korn Shell users, this has 
  5412.       been fixed. 
  5413.  
  5414.    5. New Auto-Save Profile option will automatically save the PM Patrol 
  5415.       profile and statistics every 15 minutes. This facilitates integrity for 
  5416.       PM Patrol's statistics in the event of a system hang or crash. With this 
  5417.       option turned on, power-managed computers will not automatically power 
  5418.       down the disk drive because of the consistent 15 minute disk writes. 
  5419.       These disk writes are not buffered and therefore commit to disk 
  5420.       immediately. 
  5421.  
  5422.    6. New Lock Status Line Position option locks-in the PM Patrol Status Line 
  5423.       position from accidently dragging and moving. 
  5424.  
  5425.    7. New Message Popup Seconds option allows you to define how long (seconds) 
  5426.       PM Patrol should display popup messages. The default is 4 seconds. 
  5427.  
  5428.    8. Fixed bug in Program Scheduler and Launcher when using the keyboard would 
  5429.       automatically launch the first entry in the Program or Scheduler list. 
  5430.  
  5431.    9. Fixed bug in calculation of available virtual memory. 
  5432.  
  5433.   10. Fixed bug in Accumulative Internet Connection Time. When Accumulative is 
  5434.       disabled, the Connect Time will now reset to 0 after disconnecting from 
  5435.       the Internet, each time PM Patrol is started, or when you manually reset 
  5436.       it in PM Patrol. 
  5437.  
  5438.   11. The Process Summary now displays the total active/open number of files on 
  5439.       the system. This is in addition to the number of total processes and 
  5440.       total threads. 
  5441.  
  5442.   12. Fixed bugs in DCFUserDefined API and Refresh Settings for User Defined 
  5443.       frequency. 
  5444.  
  5445.   13. Fixed bug in Process Meter where the Run-Time Duration day was not being 
  5446.       incremented. 
  5447.  
  5448.   14. Added ability to turn off Event Renotification by specifying zero 
  5449.       seconds. 
  5450.  
  5451.   15. Bug fix for situations where the month of January was being abbreviated 
  5452.       as "an" instead of "Jan". 
  5453.  
  5454.   16. Revised the online help section " Order and Pricing" and the text-based 
  5455.       file ORDER.FRM to reflect new methods of ordering PM Patrol. These 
  5456.       methods include Credit Card, CompuServe SWREG, personal check, and money 
  5457.       orders. 
  5458.  
  5459.   17. Revised online help to reflect improved PM Patrol support and obtaining 
  5460.       updates by itemizing FTP and other download sites posted to directly by 
  5461.       WallyWare. Refer to online help section "Support" for details. 
  5462.  
  5463.  These items are new in PM Patrol version 4.0: 
  5464.  
  5465.    1. Due to changes in PM Patrol's profile data (PMPATROL.INI) to accommodate 
  5466.       the new release, this profile data may be re-initialized to standard 
  5467.       defaults when the new release is first invoked. 
  5468.  
  5469.    2. Significant improvement in overall visuals and interpretation of system 
  5470.       resources. This includes emphasis on new graphing functions within the PM 
  5471.       Patrol Status Line and across several new PM Patrol windows. 
  5472.  
  5473.    3. Distinctly different monitor windows which focus on categories of 
  5474.       resources. These include: 
  5475.  
  5476.         a. Network Monitor window. Provides concentration for LAN Server/Client 
  5477.            I/O traffic workstation specifics. 
  5478.  
  5479.         b. Process Monitor window. Provides concentration for OS/2 active 
  5480.            processes, threads, CPU per process, DLLs loaded, and much more. 
  5481.  
  5482.         c. Memory Monitor window. Provides concentration for OS/2 memory 
  5483.            utilization for free/used real memory, swappable, free swap, 
  5484.            resident, and other memory related items. 
  5485.  
  5486.         d. Drives Monitor window. Provides concentration for disk drives 
  5487.            on-line, utilization per drive, location/file systems, summary per 
  5488.            drive, and drive maps. 
  5489.  
  5490.         e. Port Monitor window. Provides concentration for I/O traffic and 
  5491.            performance of LPT ports with the ability to monitor 1 or more ports 
  5492.            at the packet level. Using the new Debug facility, individual 
  5493.            packets can be monitored providing "data scope" capability. When 
  5494.            DBugging is enabled for a selected LPT port, an artificial delay (1 
  5495.            second) is inserted between each packet sent to the port. 
  5496.  
  5497.    4. New Process Meter features provides unattended operation and automatic 
  5498.       collection of process statistics for determining total and average 
  5499.       run-time, CPU consumption, and run-count instance over a user controlled 
  5500.       range of time. 
  5501.  
  5502.    5. New Activity Monitor graphs highly visible/critical OS/2 resources. This 
  5503.       facility provides a "bird's eye view" of overall system utilization. Drag 
  5504.       and drop the window for precise window positioning. 
  5505.  
  5506.    6. New CPU Magnification feature enables CPU monitoring at a selectable 
  5507.       granule level. Zoom into CPU effort for fast CPUs such as highend i486 
  5508.       and Pentium systems. Up to 50 times (50x) magnification. 
  5509.  
  5510.    7. Improved Fast Find facility allows execution of programs, viewing of INF 
  5511.       files, double click selection, and more. 
  5512.  
  5513.    8. New Fast Help facility which provides very fast access to a list of 
  5514.       available on-line help for OS/2 and Windows help files. Coupled with 
  5515.       search capability, this feature enables you quick access to highly 
  5516.       accessed help books. 
  5517.  
  5518.    9. New Status Line monitor items include: 
  5519.  
  5520.         a. OS/2 free Swap Utilization 
  5521.  
  5522.         b. HPFS386 Cache read and write statistics 
  5523.  
  5524.         c. Internet Connect Time when using a modem and the PPP or SLIP 
  5525.            protocols of the IBM Internet Access Kit. Provides the ability to 
  5526.            monitor and manually reset connect-time and accumulative monitoring. 
  5527.  
  5528.   10. New Debug Facility. The high-performance real-time debugging facility 
  5529.       that goes where the interactive debugger can not. PM Patrol's new Port 
  5530.       Monitor takes advantage of this facility allowing you "data scope" 
  5531.       capabilities on a per packet basis. 
  5532.  
  5533.   11. Improved on-line help including in-depth discussion of performance tuning 
  5534.       specifics for the OS/2 environment. 
  5535.  
  5536.   12. PM Patrol's Data Collection Facility (DCF) APIs have been enhanced to 
  5537.       reflect all new monitor items introduced with this release. Due to 
  5538.       changes in the DCF data structures (since version 3.0), previously 
  5539.       written programs which use PM Patrol's C/C++ APIs will require recompile 
  5540.       to reflect the new data structures. 
  5541.  
  5542.   13. New Event Monitor notifies you when critical system activities occur or 
  5543.       thresholds are exceeded. These include CPU, Swap growth, batter low, 
  5544.       virtual memory, low disk space, and more. 
  5545.  
  5546.   14. Miscellaneous new features provide: 
  5547.  
  5548.         a. Restart Desktop allows the ability to restart the OS/2 desktop and 
  5549.            optionally select different OS/2 INI locations. 
  5550.  
  5551.         b. Idle System CPU monitoring within PM Patrol's Process Monitor 
  5552.            window. When applications consume CPU, "Idle System" will decrease. 
  5553.            When your system sits idle, "Idle System" increases. 
  5554.  
  5555.         c. Sound Bites For MMPM/2 enabled systems, PM Patrol is multimedia 
  5556.            enabled providing notifications of events, window selections, and 
  5557.            more. 
  5558.  
  5559.         d. Filter-out Background processes in the Process Monitor window to 
  5560.            allow you to focus only on "Foreground" programs active on your 
  5561.            system. 
  5562.  
  5563.         e. New Auto-Popup Menu option for quick access to the PM Patrol Utility 
  5564.            popup menu on the Status Line. 
  5565.  
  5566.         f. New Confirmations option to suppress PM Patrol from prompting you 
  5567.            before taking selected actions. 
  5568.  
  5569.         g. WorkPlace Classes option provides the ability to browse through 
  5570.            registered WorkPlace Shell classes with the capability of 
  5571.            registering new classes or deregistering classes no longer needed. 
  5572.  
  5573.         h. Close All Folders option quickly closes all open OS/2 WorkPlace 
  5574.            Shell folders. This is similar to PM Patrol's ability to also 
  5575.            quickly Minimize or Maximize all open desktop windows. 
  5576.  
  5577.            Show Decimals option enables or disables PM Patrol displaying the 
  5578.            decimal position for several of the Status Line monitors. When 
  5579.            disabled, PM Patrol will apply standard rounding across effected 
  5580.            values. 
  5581.  
  5582.         i. Forced OS/2 Shutdown for safe and dependable system shutdown when 
  5583.            the normal OS/2 shutdown services are unresponsive. 
  5584.  
  5585.         j. Windows 3.1 Enhanced-execution support for both the Scheduler and 
  5586.            Program Launcher. 
  5587.  
  5588.         k. Recalibrate PM Patrol's CPU monitors when switching between 
  5589.            Turbo/Slow mode for certain systems. 
  5590.  
  5591.         l. Quick open/close of all PM Patrol monitor windows. 
  5592.  
  5593.         m. Self-awareness of other CPU monitors making PM Patrol even more 
  5594.            stable and it's ability to coexist in diverse environments. 
  5595.  
  5596.         n. Re-organization of menus and overall consistency making PM Patrol 
  5597.            easier to use and access to its features. 
  5598.  
  5599.         o. New command line utility called FDUMP which provides the ability to 
  5600.            dump the contents of any file and display the contents in both ASCII 
  5601.            and hex representation. This utility also understands fixed record 
  5602.            lengths. 
  5603.  
  5604.         p. Total customization of colors and fonts on a per window basis across 
  5605.            the PM Patrol product. 
  5606.  
  5607.         q. Run-Time of programs in the "Process Monitor" allows viewing the 
  5608.            duration for which processes have been actively running. 
  5609.  
  5610.         r. Improved Logging services with a new Log viewer able to view log 
  5611.            data while logging is active and view very large log files 
  5612.            efficiently and ability to log process level detail and CPU per 
  5613.            active process. 
  5614.  
  5615.         s. User Defined Monitor allows you to format your own monitor to have 
  5616.            it displayed on PM patrol's main Status Line and allow it to be 
  5617.            logged. 
  5618.  
  5619.         t. Better integration to OS/2 Warp WorkPlace Shell and access to 
  5620.            frequently used objects. 
  5621.  
  5622.  Note:  The on-line help contains a section called "Trouble Shooting". It 
  5623.  discusses topics of potential difficulty, compatibility, and idiosyncrasies of 
  5624.  PM Patrol features. Everyone should read this section. 
  5625.  
  5626.  
  5627. ΓòÉΓòÉΓòÉ 19. Acknowledgments ΓòÉΓòÉΓòÉ
  5628.  
  5629. (c)SPM/2 and MMPM/2 for OS/2 are offered by IBM Corporation. 
  5630.  
  5631. (c)IBM LAN Server and (c)IBM LAN Requester are OS/2 network components offered 
  5632. by IBM Corporation. 
  5633.  
  5634. Windows (tm), Windows-95 (tm), and Windows NT (tm) are offered by Microsoft 
  5635. Corporation. 
  5636.  
  5637.  
  5638. ΓòÉΓòÉΓòÉ 20. Special Thanks ΓòÉΓòÉΓòÉ
  5639.  
  5640. We would like to express our sincere appreciation to everyone who assisted in 
  5641. the production of this and onging releases of PM Patrol. Particularly, a 
  5642. special thanks goes to: 
  5643.  
  5644. Mike Coane, Aron Eisenpress, Jeff McCauley, Mark Saliture, Jen and Kyle.